SA-MP Forums Archive
Linux MySQL Problem - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Linux MySQL Problem (/showthread.php?tid=470275)



Linux MySQL Problem - MSuperXX - 17.10.2013

Hello all SA-MP players, I've a linux vps machine and I'm making a samp server on it but the problem is the server can't run due to the MySQL plugin error

Loading plugin: mysql.so
Failed (libmysqlclient_r.so.16: cannot open shared object file: No such file or directory)

I'm using the r34 MySQL plugin
I've tried to do all my best but didn't work so please help because that problem getting me mad


Re: Linux MySQL Problem - CrazyChoco - 17.10.2013

Your solution is here: libmysqlclient_r.so.16: cannot open shared object file: No such file or directory)
libmysqlclient_r.so is missing.


Re: Linux MySQL Problem - MSuperXX - 17.10.2013

I know it's missing but I don't know how to get it


Re: Linux MySQL Problem - Konstantinos - 17.10.2013

MySQL R33 has a static version if you want.


Re: Linux MySQL Problem - MSuperXX - 17.10.2013

The R33 has the exact problem


Re: Linux MySQL Problem - Konstantinos - 17.10.2013

Download mysql-r33-linux_5.1.rar (5.1 because if you used 5.5, it'd appear about libmysqlclient_r.so.1.

Extract it and inside the plugins folder, there're two files. The one mysql.so (which will give the error) and the mysql_static.so (which works). I used to have the same problem like you and it worked with the static one.


Re: Linux MySQL Problem - ColorHost-Kevin - 17.10.2013

Static works for this issue, or you can install the mysqlclient.


Re: Linux MySQL Problem - Astralis - 17.10.2013

login to putty and type:

Код:
 yum install libmysqlclient_r.so.16
restart your server & enjoy


Re: Linux MySQL Problem - iZN - 17.10.2013

Use the static plugin. It will work fine.


Re: Linux MySQL Problem - MSuperXX - 17.10.2013

The R33 has the same problem and I used the 5,1 MySQL and still do the exact bug