SA-MP Forums Archive
Problem,help - 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: Problem,help (/showthread.php?tid=659186)



Problem,help - OPcode - 26.09.2018

Hello,

I have a problem with this, the database is connected all the plugins loaded and i have the rest but throw me this problem, if someone knows how to solve it, reply, it will receive a reward.

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


If there's anyone to download this, leave a link.Thanks


Re: Problem,help - Alexis17 - 26.09.2018

Quote:
Originally Posted by OPcode
View Post
Hello,

I have a problem with this, the database is connected all the plugins loaded and i have the rest but throw me this problem, if someone knows how to solve it, reply, it will receive a reward.

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


If there's anyone to download this, leave a link.Thanks
Use the latest version of MYSQL

And Test your gameplay on loclahost with xampp


Re: Problem,help - OPcode - 26.09.2018

On the home server it works well, only when I upload to the game panel it can not, when I compile the mode with this database then I throw 26 erros around database...


Re: Problem,help - ColorHost-Kevin - 26.09.2018

The host needs a certain package installed on their OS.

They need the mysql-client package or you could use the static version of the MySQL plugin.

I always recommend contacting your host if your having trouble.


Re: Problem,help - OPcode - 26.09.2018

I got this:

error 017: undefined symbol "mysql_debug"
: error 017: undefined symbol "mysql_ping"
: error 035: argument type mismatch (argument 1)
: error 017: undefined symbol "mysql_store_result"
: error 017: undefined symbol "mysql_num_rows"
: error 017: undefined symbol "mysql_free_result"
: error 035: argument type mismatch (argument 1)
: error 017: undefined symbol "mysql_store_result"
: error 017: undefined symbol "mysql_num_rows"
: error 017: undefined symbol "mysql_fetch_row_format"
: error 017: undefined symbol "mysql_fetch_field_row"
: error 017: undefined symbol "mysql_free_result"
: error 017: undefined symbol "mysql_real_escape_string"
error 035: argument type mismatch (argument 1)
: error 017: undefined symbol "mysql_store_result"
: error 017: undefined symbol "mysql_num_rows"
: error 035: argument type mismatch (argument 1)
: error 017: undefined symbol "mysql_free_result"
: error 035: argument type mismatch (argument 1)
: error 035: argument type mismatch (argument 1)
: error 017: undefined symbol "mysql_store_result"
: error 017: undefined symbol "mysql_num_rows"
: error 017: undefined symbol "mysql_fetch_row_format"
: error 017: undefined symbol "mysql_fetch_field_row"
: error 017: undefined symbol "mysql_free_result"


Re: Problem,help - Alexis17 - 26.09.2018

Quote:
Originally Posted by OPcode
View Post
I got this:

error 017: undefined symbol "mysql_debug"
: error 017: undefined symbol "mysql_ping"
: error 035: argument type mismatch (argument 1)
: error 017: undefined symbol "mysql_store_result"
: error 017: undefined symbol "mysql_num_rows"
: error 017: undefined symbol "mysql_free_result"
: error 035: argument type mismatch (argument 1)
: error 017: undefined symbol "mysql_store_result"
: error 017: undefined symbol "mysql_num_rows"
: error 017: undefined symbol "mysql_fetch_row_format"
: error 017: undefined symbol "mysql_fetch_field_row"
: error 017: undefined symbol "mysql_free_result"
: error 017: undefined symbol "mysql_real_escape_string"
error 035: argument type mismatch (argument 1)
: error 017: undefined symbol "mysql_store_result"
: error 017: undefined symbol "mysql_num_rows"
: error 035: argument type mismatch (argument 1)
: error 017: undefined symbol "mysql_free_result"
: error 035: argument type mismatch (argument 1)
: error 035: argument type mismatch (argument 1)
: error 017: undefined symbol "mysql_store_result"
: error 017: undefined symbol "mysql_num_rows"
: error 017: undefined symbol "mysql_fetch_row_format"
: error 017: undefined symbol "mysql_fetch_field_row"
: error 017: undefined symbol "mysql_free_result"
Is the inclusion linked?


Re: Problem,help - Variableā„¢ - 26.09.2018

The host is missing libraries required for the mysql plugin. Contact their support or if you're using a VPS then install the missing library by yourself.


Re: Problem,help - Mazio - 26.09.2018

It depends on the VPS that you are using, for example I was using Debian so I installed Debian-static and the re-compiled the script and it was working. Or another issue can be with MySQL's version, as far I remember my stuff was not running on the latest version of mysql then I decided to downgrade it. You need MySQL client to be updated and make sure you have libmysqlclient_r.so.16 located in your root folder.


Re: Problem,help - Variableā„¢ - 27.09.2018

These threads may be relevant:
https://sampforum.blast.hk/showthread.php?tid=280057
https://sampforum.blast.hk/showthread.php?tid=590730
https://sampforum.blast.hk/showthread.php?tid=639691