阅读背景:

如何ping MySQL db并使用PDO重新连接

来源:互联网 

I am using MySQL PDO for handling database querying and all. But most of the time, the MySQL connection is gone away. So i am looking in the PDO that will check if the db connection is exists or not and if it is not exit, then i need to connect the database to continue the query execution. I am using MySQL PDO for handling database quer




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: