mysql error [+REP] -
toofast - 20.01.2013
I have this problem with mysql.
Код:
[01:54:47] Loading plugin: mysql.so
[01:54:47] Failed (libmysqlclient_r.so.15: cannot open shared object file: No such file or directory)
[01:54:48] [debug] Run time error 19: "File or function is not found"
[01:54:48] [debug] mysql_connect
[01:54:48] [debug] mysql_ping
[01:54:48] [debug] mysql_close
[01:54:48] [debug] mysql_query
[01:54:48] [debug] mysql_real_escape_string
[01:54:48] [debug] mysql_store_result
[01:54:48] [debug] mysql_num_rows
[01:54:48] [debug] mysql_free_result
[01:54:48] [debug] mysql_fetch_row_format
[01:54:48] [debug] mysql_retrieve_row
[01:54:48] [debug] mysql_fetch_field_row
[01:54:48] [debug] Run time error 19: "File or function is not found"
[01:54:48] [debug] mysql_connect
[01:54:48] [debug] mysql_ping
[01:54:48] [debug] mysql_close
[01:54:48] [debug] mysql_query
[01:54:48] [debug] mysql_real_escape_string
[01:54:48] [debug] mysql_store_result
[01:54:48] [debug] mysql_num_rows
[01:54:48] [debug] mysql_free_result
[01:54:48] [debug] mysql_fetch_row_format
[01:54:48] [debug] mysql_retrieve_row
[01:54:48] [debug] mysql_fetch_field_row
[01:54:48] Script[gamemodes/gfsql.amx]: Run time error 19: "File or function is not found"
Can anyone help me to solve this please? +REP if you do.
I mention that i do not have SSH access.
Thanks in advance!
Re: mysql error [+REP] -
toofast - 21.01.2013
Can anyone help me please?
Re: mysql error [+REP] -
InfiniTy. - 21.01.2013
" Failed (libmysqlclient_r.so.15: cannot open shared object file: No such file or directory)"
http://forum.sa-mp.com/showpost.php?...&postcount=553
Re: mysql error [+REP] -
azzerking - 21.01.2013
What this means, is that your server is pointing to the wrong address for the file. Make sure yo have the linux version of the plugin (end in .so) and that its in the plugins folder in your server directory.
Re: mysql error [+REP] -
toofast - 21.01.2013
Yes, i asked the server owner and he said the server is running on CentOS 64 bit. I tried to install all the mysql.so versions and none worked.
Re: mysql error [+REP] -
InfiniTy. - 21.01.2013
The host doesn't have a mysql library or something..and he needs to install it ..
Re: mysql error [+REP] -
3ventic - 21.01.2013
Try:
yum whatprovides libmysqlclient.so.15
The answer appears to be:
mysql-libs.x86_64 5.0.54-1.el4.centos installed
Matched from:
/usr/lib64/mysql/libmysqlclient.so.15
/usr/lib64/mysql/libmysqlclient.so.15.0.0
libmysqlclient.so.15()(64bit)
libmysqlclient.so.15(libmysqlclient_15)(64bit)
Source:
https://www.centos.org/modules/newbb...=7171&forum=34
Re: mysql error [+REP] -
toofast - 21.01.2013
Quote:
Originally Posted by Adytza.
The host doesn't have a mysql library or something..and he needs to install it ..
|
He does have, there are other customers with sa:mp server using mysql but they don't get this error.
Re: mysql error [+REP] -
Smally - 21.01.2013
Try this version of MySQL:
http://files.g-stylezzz.com/mysql/re...ysql_centos.so
Re: mysql error [+REP] -
Sinner - 21.01.2013
It really appears you don't have the binaries required. You need
(1) The plugin (mysql.so) in your /plugins/ folder (remember, this is case sensitive in server.cfg)
(2) The libmysqlclient_r.so.15 file in your root folder
(3) The include in your pawno/includes/ folder
Looking at the error you are definately missing (2). Check your files again, or ask the host. Re-download the mysql plugin and re-upload it completely if you can. Also make sure you are using the correct version of mysql as pointed out, although CentOS is Linux based so I don't see why this is not working.