29.10.2014, 19:52
Quote:
I got an error after I updated to new MySQL plugin. How do I fix this?
undefined symbol "mysql_ping" Код:
stock ConnectMySQL() { dbHandle = mysql_connect(SQL_HOST, SQL_USER, SQL_DB, SQL_PASS); if(mysql_errno() == -1) printf("Failed to connect to MySQL !"); else printf("Connected to MySQL !"); return 1; } |