But, plugin can't connect with DB after crash, not before.
And I've got this:
Code:
g_SqlTuple = SQL_MakeDbTuple(Host,User,Pass,Db);
new errorcode;
g_SqlConnection = SQL_Connect(g_SqlTuple,errorcode,error,254);
if (!g_SqlConnection)
{
log_amx("[PS3.1] Server cannot connect to database.");
log_amx("[PS3.1] Error(%d): %s",errorcode,error);
return;
}
It's the same I think.