SA-MP Forums Archive
How to install MySQL plugin on linux Host? - 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: How to install MySQL plugin on linux Host? (/showthread.php?tid=540692)



How to install MySQL plugin on linux Host? - alanhutch - 06.10.2014

Hi.
How I can install this MySQL plugin to a linux Host? https://sampforum.blast.hk/showthread.php?tid=56564
Thank you in advance.
I have inserted the mysql.so in the plugin folder, but when I start the server it says:
Код:
[21:54:34]  Loading plugin: mysql.so
[21:54:34]   Failed (libmysqlclient_r.so.16: cannot open shared object file: No such file or directory)
[21:54:34]  Loaded 2 plugins.
THANKS


Re: How to install MySQL plugin on linux Host? - Vince - 06.10.2014

Install the mysql-client package. If that doesn't work, try using the static version of the plugin.


Re: How to install MySQL plugin on linux Host? - alanhutch - 06.10.2014

Quote:
Originally Posted by Vince
Посмотреть сообщение
Install the mysql-client package. If that doesn't work, try using the static version of the plugin.
How to do the installation of the mysql-client package?
I don't see any static version in the downloads.


Re: How to install MySQL plugin on linux Host? - alanhutch - 06.10.2014

Thank you, I have inserted the mysql static version, and it works... But it always says "file or function not found."
All the plugins and the scriptfiles are there... What can I do?