Jump to content

How to reconnect mysql


macran
 Share

Recommended Posts

I use mysql.au3 to connect mysql database .  If restart the server ,the client how to reconnect mysql?

The function prototype is

_MySQL_Options($MySQL_ptr, $option, $arg = 0, $type = "ptr")

so,

_MySQL_Options($MysqlConn,$MYSQL_OPT_RECONNECT, ?, ?)

pls help me,thanks!

 

 

 

Edited by macran
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...