Jump to content
  • 0

Mysql not work


Arsilex

Question

Posted

Hello today i start working on my vps and i see that have one problem:

01a3b9d0fff06c76f52114e854b97e36.png

i installed the libmysqlclient.so.16 and nothing what i need to do ( VPS OS CentOS 6)

12 answers to this question

Recommended Posts

  • 0
  • MTA Team
Posted

It looks like the libmysqlclient.so.16 file is incorrect. How did you install it?

  • 0
  • MTA Team
Posted

Try moving libmysqlclient.so.16 to /lib64

If that doesn't help, show me the output of this command:

uname -a 

and also check if you have duplicate files:

find / -name libmysqlclient.so.16 

  • 0
Posted

Linux vps99476.ovh.net 3.8.13-xxxx-grs-ipv6-64-vps #2 SMP Fri May 17 05:56:23 CEST 2013 x86_64 x86_64 x86_64 GNU/Linux

and the other command says:

  
/usr/lib64/mysql/libmysqlclient.so.16 
/usr/lib/mysql/libmysqlclient.so.16 
find: File system loop detected; «/var/named/chroot/var/named» is part of the same file system loop as «/var/named». 
/lib64/libmysqlclient.so.16 
/root/libmysqlclient.so.16 
  

  • 0
  • MTA Team
Posted

What is the file size of each of those 4 copies of libmysqlclient.so.16?

Try copying /usr/lib64/mysql/libmysqlclient.so.16 to /lib64/libmysqlclient.so.16

  • 0
Posted

/lib64 : size: 2.209.664 bytes

/usr/lib/mysql: size : 1.525.344 ( but it name is : libmysqlclient.so.16.0.0)

/usr/lib64/mysql: size : 1.525.344 ( but it name is : libmysqlclient.so.16.0.0)

the other one in the root i deleted it..

  • 0
  • MTA Team
Posted

Are you sure /usr/lib64/mysql/libmysqlclient.so.16.0.0 size is 1.525.344 ?

  • 0
  • MTA Team
Posted

Ok, it seems like the file /usr/lib64/mysql/libmysqlclient.so.16.0.0 and has a problem.

Rename the symbolic link in /usr/lib64/mysql :

cd /usr/lib64/mysql 
mv libmysqlclient.so.16 libmysqlclient.so.16.bak 

Check there are no other libmysqlclient.so.16:

find / -name libmysqlclient.so.16 

If no other libmysqlclient.so.16 are found, get the 64 bit file from MTA and put it into /lib64 :

cd /lib64 
wget [url=https://nightly.multitheftauto.com/files/x64/libmysqlclient.so.16]https://nightly.multitheftauto.com/files/x64/libmysqlclient.so.16[/url] 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...