mysql_log Problem
#1

Hi Samp,
I have a vps server (CentOs)
I try to run the server.
and the mysql won't work
this is my mysql_log:
[21:07:52] >> mysql_connect( )
[21:07:52] CMySQLHandler::CMySQLHandler() - constructor called.
[21:07:52] CMySQLHandler::CMySQLHandler() - Connecting to "localhost" | DB: "zadmin_samp" | Username: "adminisitrator" ...
[21:07:52] CMySQLHandler::Connect() - Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) (Error ID: 2002)
[21:07:52] >> mysql_query( Connection handle: 1 )
[21:07:52] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
[21:07:52] >> mysql_query( Connection handle: 1 )
[21:07:52] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
[21:07:52] >> mysql_query( Connection handle: 1 )
[21:07:52] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
[21:07:52] >> mysql_query( Connection handle: 1 )
[21:07:52] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
[21:07:52] >> mysql_query( Connection handle: 1 )
[21:07:52] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
[21:07:52] >> mysql_query( Connection handle: 1 )
[21:07:52] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
[22:08:31]
[22:08:31] ---------------------------
[22:08:31] MySQL Debugging activated (04/24/14)
[22:08:31] ---------------------------
[22:08:31]
[22:08:31] >> mysql_connect( )
[22:08:31] CMySQLHandler::CMySQLHandler() - constructor called.
[22:08:31] CMySQLHandler::CMySQLHandler() - Connecting to "localhost" | DB: "zadmin_samp" | Username: "adminisitrator" ...
[22:08:31] CMySQLHandler::Connect() - Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) (Error ID: 2002)
[22:08:31] >> mysql_query( Connection handle: 1 )
[22:08:31] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
[22:08:31] >> mysql_query( Connection handle: 1 )
[22:08:31] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
[22:08:31] >> mysql_query( Connection handle: 1 )
[22:08:31] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
[22:08:31] >> mysql_query( Connection handle: 1 )
[22:08:31] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
[22:08:31] >> mysql_query( Connection handle: 1 )
[22:08:31] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
[22:08:31] >> mysql_query( Connection handle: 1 )
[22:08:31] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
Thanks For help
Ori // SanDisk
Reply
#2

Well you can try own Server Log for Server
Reply
#3

Use the static version instead. "mysql_static.so".
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)