SA-MP Forums Archive
Problem with mysql on serverffs - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Problem with mysql on serverffs (/showthread.php?tid=302973)



Problem with mysql on serverffs - thimo - 11.12.2011

Ok i got this installed on my server:
https://sampforum.blast.hk/showthread.php?tid=56564
And then i get these errors on my server:

PHP код:
[12:01:30Loaded.
[
12:01:30Loading pluginmysql.so
[12:01:30Failed (libmysqlclient_r.so.16cannot open shared object fileNo such file or directory)
[
12:01:30Loaded 2 plugins.
[
12:01:30Reading Fileblank
[12:01:30Reading Fileproperties/houses.txt
[12:01:30Incoming connection188.138.79.5:34131
[12:01:30Blocking 188.138.79.5 due to a 'server full' attack (2)
[
12:01:30Reading Fileproperties/businesses.txt
[12:01:30Reading Fileproperties/banks.txt
[12:01:30Reading Fileproperties/police.txt
[12:01:30Script[gamemodes/European_RolePlay2.amx]: Run time error 19"File or function is not found"
[12:01:30Number of vehicle models
What is wrong? :S


Re: Problem with mysql on serverffs - shitbird - 11.12.2011

I believe that you are missing the plugin files.
Check if you have them.


Re: Problem with mysql on serverffs - thimo - 11.12.2011

I got the mysql.so


Re: Problem with mysql on serverffs - MadeMan - 11.12.2011

This one too?

libmysqlclient.so.15


Re: Problem with mysql on serverffs - thimo - 11.12.2011

Where to place it? :S


Re: Problem with mysql on serverffs - MadeMan - 11.12.2011

Server root folder (where server.cfg is).


Re: Problem with mysql on serverffs - thimo - 11.12.2011

Its there but... :S


Re: Problem with mysql on serverffs - thimo - 11.12.2011

So how to fix it? :S


Re: Problem with mysql on serverffs - shitbird - 11.12.2011

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

Are you positive that you have the libmysqlclient_r.so.16 placed in the server executable folder?
Are you also positive that you have the mysql.so placed in the "plugins" folder?


Re: Problem with mysql on serverffs - thimo - 11.12.2011

I saw something like this:
Код:
wget -c http://security.ubuntu.com/ubuntu/pool/main/m/mysql-dfsg-5.1/libmysqlclient16_5.1.41-3ubuntu12.7_i386.deb)
wget -c http://mirrors.kernel.org/ubuntu/pool/universe/m/mysql-dfsg-5.0/libmysqlclient15off_5.1.30really5.0.83-0ubuntu3_i386.deb
mkdir mysql32
dpkg --extract libmysqlclient*deb mysql32
sudo mv mysql32/usr/lib/* /usr/lib32/
Where do i have to put this?
Edit:
Quote:
Originally Posted by shitbird
Посмотреть сообщение
Failed (libmysqlclient_r.so.16: cannot open shared object file: No such file or directory)

Are you positive that you have the libmysqlclient_r.so.16 placed in the server executable folder?
Are you also positive that you have the mysql.so placed in the "plugins" folder?
How to get the libmysqlclient_r.so.16 in there?