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



mysql_log Problem - ori302010 - 24.04.2014

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


Re: mysql_log Problem - XxJenxX - 25.04.2014

Well you can try own Server Log for Server


Re: mysql_log Problem - gtakillerIV - 25.04.2014

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