Posts: 41
Threads: 10
Joined: Feb 2016
Guys I'm getting this error:-
PHP код:
error 017: undefined symbol "enable_mutex"
error 017: undefined symbol "mysql_ping"
I was converting MySQL R7 to MySQL R34. Kindly tell me how to get them fixed.
Posts: 969
Threads: 26
Joined: Jan 2016
Reputation:
0
mysql_ping is not supported for +R33
use a variable to store connectionHandle and make it default -1
Posts: 41
Threads: 10
Joined: Feb 2016
Here's the code for enable_mutex:-
PHP код:
#if debug
mysql_debug(1);
#else
mysql_debug(0);
#endif
enable_mutex(false);
g_mysql_handle = mysql_connect(MYSQL_HOST,MYSQL_USER,MYSQL_DATABASE,MYSQL_PASSWORD);
Here's the code for mysql_ping:-
PHP код:
if(g_mysql_handle)
mysql_close(g_mysql_handle);
while(mysql_ping(g_mysql_handle) == 1) {
#emit NOP
}
Kindly tell me what should I add or change.