SA-MP Forums Archive
MySQL connecting - 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 connecting (/showthread.php?tid=554667)



MySQL connecting - Derexi - 04.01.2015

My server connects to MySQL then straight away says the connection is dead:

Код:
[17:45:57] >> mysql_connect( )

[17:45:57] CMySQLHandler::CMySQLHandler() - constructor called.

[17:45:57] CMySQLHandler::CMySQLHandler() - Connecting to "hostremoved" | DB: "dbremoved" | Username: "userremoved" ...

[17:45:57] CMySQLHandler::Connect() - Connection was successful.

[17:45:57] CMySQLHandler::Connect() - Auto-Reconnect has been enabled.

[17:45:57] >> mysql_ping( Connection handle: 1 )

[17:45:57] CMySQLHandler::Ping() - You cannot call this function now. (Reason: Dead Connection)