11.10.2011, 11:42
I'm having a few mysql issues. Basically my server can't connect to the database. My website connects to the DB well and retrieves stats well..
Код:
[11:31:20] >> mysql_connect( ) [11:31:20] CMySQLHandler::CMySQLHandler() - constructor called. [11:31:20] CMySQLHandler::CMySQLHandler() - Connecting to "HOST" | DB: "DB NAME" | Username: "USER" ... [11:31:20] CMySQLHandler::Connect() - Access denied for user 'USERNAME'@'HOST' (using password: YES) (Error ID: 1045) [11:31:20] [11:31:20] --------------------------- [11:31:20] MySQL Debugging activated (10/11/11) [11:31:20] --------------------------- [11:31:20] [11:31:20] >> mysql_connect( ) [11:31:20] CMySQLHandler::CMySQLHandler() - constructor called. [11:31:20] CMySQLHandler::CMySQLHandler() - Connecting to "localhost" | DB: "DATABASE NAME" | Username: "USERNAME" ... [11:31:20] CMySQLHandler::Connect() - Connection was successful. [11:31:20] CMySQLHandler::Connect() - Auto-Reconnect has been enabled. [11:32:29] >> mysql_query( Connection handle: 1 ) [11:32:29] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead) [11:32:29] >> mysql_store_result( Connection handle: 1 )