阅读背景:

如何在try catch块中捕获MySQL错误?

来源:互联网 

I am trying to execute a query on a MySQL database. I've put the execute command in a try catch block, but It still throws an exception when the query fails. How do I prevent this and simply catch the error?I am trying to execute a query on a MySQL datab




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

分享到: