01.08.2013, 18:59
Nothing is printed.
edit:
Same with this, nothing printed:
edit:
Same with this, nothing printed:
pawn Код:
if(mysql_errno(dbHandle) != 0)
{
printf("\n\nERROR: MySQL has failed to establish a connection with %s.", MYSQLIP);
mysql_close(dbHandle);
mysql_connect(MYSQLIP, MYSQLUSER, MYSQLDB, MYSQLPASSWORD);
if(mysql_errno(dbHandle) == 0) printf("\n\nDEBUG: MySQL has successfuly established a connection with %s.\n\n", MYSQLIP);
else
{
printf("\n\nERROR: MySQL has failed to establish a connection with %s.\n\n", MYSQLIP);
print("-- FATAL ERROR SERVER HALTED --");
return 0;
}
}