11.02.2016, 22:56
Hello there, Sorry I'm facing proplem with this things, I'm newbie with MySQL still trying to learn it.
pawn Код:
error 017: undefined symbol "mysql_ping"
pawn Код:
stock ConnectMySQL()
{
dbHandle = mysql_connect(SQL_HOST, SQL_USER, SQL_DB, SQL_PASS);
mysql_debug(1);
if(mysql_ping() == -1)
{
printf("Failed to connect to MySQL !");
} else {
printf("Connected to MySQL !");
}
return 1;
}