阅读背景:

如果数据库连接失败,我怎么能告诉PHP暂停一秒又重试?

来源:互联网 

Every once in awhile, for about a second or two, my PHP script fails to authenticate and create a connection to MySQL server. Is there any way to tell PHP to, upon failure to create a MySQL connection, wait another second or two and then try again?Every once in awhile, for about a second or two




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

分享到: