mySQL error
#1

Greetings sa-mp,


Hello, well today I was trying to upload mySQL system in the host, but when I try to run the server (Server is on volt-host) the server close because I have this in my script:

pawn Код:
forward ConnectMySQL();
public ConnectMySQL()
{
    TuberiasMySQL =  mysql_connect(SQL_HOST, SQL_USER, SQL_DB, SQL_PASS);

    if(mysql_ping() == 1)
    {
        printf("[MYSQL]: Connection to `%s` succesful!", SQL_DB);
    }
    else
    {
        printf("[ERROR]: Connection to `%s` failed!", SQL_DB);
        [b]SendRconCommand("exit");[/b]
    }
    return 1;
}
Okay, thats not the point. The point is that in the my_sql_log just says:

Код:
[Tue Sep 10 10:59:18 2013] -------------------------
[Tue Sep 10 10:59:18 2013]      Logging Started
[Tue Sep 10 10:59:18 2013] -------------------------
And I don`t know why it says that because I have all my data in the right way!.


If anyone can help me,

Regards,
Pablo
Reply


Messages In This Thread
mySQL error - by PabloDiCostanzo - 10.09.2013, 18:01
Re: mySQL error - by Jstylezzz - 10.09.2013, 18:21
Respuesta: mySQL error - by PabloDiCostanzo - 11.09.2013, 14:00
Re: mySQL error - by RajatPawar - 11.09.2013, 15:44
Respuesta: mySQL error - by PabloDiCostanzo - 11.09.2013, 19:29

Forum Jump:


Users browsing this thread: 1 Guest(s)