MySQL will not connect.
#1

Hello,

I'm currently setting up a VPS for samp, with mysql and web hosting. However when I attempt to start SA:MP I get this:
Quote:

[18:45:45] >> mysql_ping( Connection handle: 1 )
[18:45:45] CMySQLHandler::Ping() - You cannot call this function now. (Reason: Dead Connection)
[18:45:45] >> mysql_connect(localhost, mike, Server, ******) on port 3306
[18:45:45] CMySQLHandler::Connect() - Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) (Error ID: 2002)
[18:45:45]
[18:45:45] ** MySQL Debugging enabled (09/28/13)
[18:45:45]
[18:45:45] >> mysql_query_callback( Connection handle: 1 )
[18:45:45] >> mysql_query_callback( Connection handle: 1 )
[18:46:47] >> mysql_ping( Connection handle: 1 )
[18:46:47] CMySQLHandler::Ping() - You cannot call this function now. (Reason: Dead Connection)
[18:46:47] >> mysql_connect(localhost, mike, Server, ******) on port 3306
[18:46:47] CMySQLHandler::Connect() - Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) (Error ID: 2002)
[18:46:47] >> mysql_close( Connection handle: 1 )
[18:46:47] CMySQLHandler::~CMySQLHandler() - deconstructor called.
[18:46:47] CMySQLHandler::FreeResult() - There is nothing to free (Reason: Connection is dead)
[18:46:47] CMySQLHandler:isconnect() - You cannot call this function now. (Reason: Connection is dead)
[18:46:47] Unloading Plugin
[18:46:52] >> mysql_connect(localhost, mike, Server, ******) on port 3306
[18:46:52] CMySQLHandler::CMySQLHandler() - constructor called.
[18:46:52] CMySQLHandler::CMySQLHandler() - Connecting to "localhost" | DB: "Server" | Username: "mike"
[18:46:52] CMySQLHandler::Connect() - Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) (Error ID: 2002)
[18:46:52] >> mysql_ping( Connection handle: 1 )
[18:46:52] CMySQLHandler::Ping() - You cannot call this function now. (Reason: Dead Connection)
[18:46:52] >> mysql_connect(localhost, mike, Server, ******) on port 3306
[18:46:52] CMySQLHandler::Connect() - Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) (Error ID: 2002)
[18:46:52]
[18:46:52] ** MySQL Debugging enabled (09/28/13)
[18:46:52]
[18:46:52] >> mysql_query_callback( Connection handle: 1 )
[18:46:52] >> mysql_query_callback( Connection handle: 1 )

From the MySQL log. I'm using BlueG mysql plugin R14 I think.
Reply


Messages In This Thread
MySQL will not connect. - by Isolated - 28.09.2013, 14:43
Re: MySQL will not connect. - by Bit - 28.09.2013, 14:47
Re: MySQL will not connect. - by Isolated - 28.09.2013, 14:48
Re: MySQL will not connect. - by Bit - 28.09.2013, 14:52
Re: MySQL will not connect. - by Isolated - 28.09.2013, 14:55
Re: MySQL will not connect. - by Bit - 28.09.2013, 14:59
Re: MySQL will not connect. - by Isolated - 28.09.2013, 16:57
Re: MySQL will not connect. - by MuLt1pl3x - 02.12.2014, 12:46
Re: MySQL will not connect. - by Lordzy - 02.12.2014, 12:51
Re: MySQL will not connect. - by MuLt1pl3x - 02.12.2014, 13:00

Forum Jump:


Users browsing this thread: 1 Guest(s)