General information
Category:
Coding, syntax & commands
Title:
MYSQL_OPT_RECONNECT in VFP
Hi all
In MySQL 5+ auto-reconnect is disabled by default
I want to set auto reconnect in MySQL when server has gone away
example in MySQL reference manual is
my_bool reconnect = 1;
mysql_options(&mysql, MYSQL_OPT_RECONNECT, &reconnect);
how to write MYSQL_OPT_RECONNECT in VFP coding ?
will it prevent from server has gone away ?
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only