10.09.2013, 18:01
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:
Okay, thats not the point. The point is that in the my_sql_log just says:
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
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;
}
Код:
[Tue Sep 10 10:59:18 2013] ------------------------- [Tue Sep 10 10:59:18 2013] Logging Started [Tue Sep 10 10:59:18 2013] -------------------------
If anyone can help me,
Regards,
Pablo