mysql error [+REP]
#1

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!
Reply
#2

Can anyone help me please?
Reply
#3

" Failed (libmysqlclient_r.so.15: cannot open shared object file: No such file or directory)"
http://forum.sa-mp.com/showpost.php?...&postcount=553
Reply
#4

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.
Reply
#5

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.
Reply
#6

The host doesn't have a mysql library or something..and he needs to install it ..
Reply
#7

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
Reply
#8

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.
Reply
#9

Try this version of MySQL:
http://files.g-stylezzz.com/mysql/re...ysql_centos.so
Reply
#10

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)