07.12.2014, 23:17
On main() I have something like this for debug
so everytime I start the server a file named mysql_log.txt will be created and there I have the full debugging
Код:
mysql_log(LOG_ERROR | LOG_WARNING | LOG_DEBUG); mysql = mysql_connect(host, user, db, pass);