[CentOS 6] libmysqlclient_r.so.16 error
#5

Quote:
Originally Posted by Sublime
View Post
http://files.mellnik.com/SAMP/mysql/...ysql_static.so

Replace mysql.so with that and edit server.cfg to run the static plugin. Just keep the mysql.so plugin there, Incase the static fails too.
I'd assume the static version worked for me. But it lead into yet another error.

server-log.txt
Quote:

[09:53:31] Loading plugin: mysql_static.so
[09:53:31] plugin.mysql: R20 successfully loaded.
[09:53:31] Loaded.

-edited-

[09:53:32] function 'mysql_debug' is deprecated, use 'mysql_log' instead.
[09:53:32] [MySQL]: Attempting to make a connection to localhost with username root and password *** to database wasteland through port 3306.
[09:53:32] [MySQL Error]: The script was unable to connect to the MySQL server, please check whether if the credentials are correct.

MySQL logs
Quote:

[09:53:32] [WARNING] 'mysql_debug' is deprecated, use 'mysql_log' instead.
[09:53:32] [DEBUG] >> mysql_connect(localhost, root, wasteland, ***) on port 3306
[09:53:32] [DEBUG] CMySQLHandler::CMySQLHandler() - constructor called.
[09:53:32] [DEBUG] CMySQLHandler::CMySQLHandler() - Connecting to "localhost" | DB: "wasteland" | Username: "root"...
[09:53:32] [ERROR] CMySQLHandler::Connect() - Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) (error ID: 2002).
[09:53:32] [DEBUG] >> mysql_ping(Connection handle: 1)
[09:53:32] [ERROR] CMySQLHandler::Ping() - You cannot call this function now (connection is dead).
[09:53:32] [DEBUG] >> mysql_query_callback(Connection handle: 1)
[09:53:32] [DEBUG] >> mysql_query_callback(Connection handle: 1)
[09:53:32] [DEBUG] >> mysql_query_callback(Connection handle: 1)
[09:53:32] [DEBUG] >> mysql_query_callback(Connection handle: 1)
[09:53:32] [DEBUG] >> mysql_query_callback(Connection handle: 1)
[09:53:32] [DEBUG] >> mysql_query_callback(Connection handle: 1)
[09:53:32] [DEBUG] >> mysql_close(Connection handle: 1)
[09:53:32] [DEBUG] CMySQLHandler::~CMySQLHandler() - deconstructor called.
[09:53:32] [ERROR] CMySQLHandler::FreeResult() - There is nothing to free (connection is dead).
[09:53:32] [ERROR] CMySQLHandler:isconnect() - You cannot call this function now (connection is dead).
[09:53:32] [DEBUG] Unloading Plugin

I'm pretty sure the credentials are correct.
Reply


Messages In This Thread
[CentOS 6] libmysqlclient_r.so.16 error - by Norrin - 24.11.2013, 13:26
Re: [CentOS 6] libmysqlclient_r.so.16 error - by Sublime - 24.11.2013, 13:36
Re: [CentOS 6] libmysqlclient_r.so.16 error - by Norrin - 24.11.2013, 13:38
Re: [CentOS 6] libmysqlclient_r.so.16 error - by Sublime - 24.11.2013, 13:42
Re: [CentOS 6] libmysqlclient_r.so.16 error - by Norrin - 24.11.2013, 13:53
Re: [CentOS 6] libmysqlclient_r.so.16 error - by Norrin - 24.11.2013, 13:59

Forum Jump:


Users browsing this thread: 1 Guest(s)