Web lists-archives.com



within php (or any other language)

is there a way to create the mysql sql, and execute the sql, where the
process can "wait" until the network connection for the mysql
command/process is actually valid?

IE (phpesque)
$pdo=new pdo()
sql = "select * from foo where a=:a"

The issue we're seeing, is that the network (it's all wifi) is really
bad.. and the app machine, might not have a connection to the db box.

We're wondering if there's a way to simply have mysql/php detect when
a valid connection is there, and then proceed.

We've thought about the try/catch process, any others?


MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/mysql