我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

Mysql超时错误处理

I am getting data from a web service and some times mysql times out "mysql server has gone away" and the whole page crashes.Is there any way I can capture such kind of error and not show the user a blank screen with the error message but instead redirect to some other page ... (programming language used is PHP)

近期文章

  • 打印值前空白(红点)
  • /v2.1/{post-id}不提供照片
  • 如何在MySQL和PHP中选择没有日期的年份?
  • 服务器拒绝一个请求但接受另一个请求。 为什么?
  • 什么导致减速Magento速度
  • XML签名DigestValue无效
  • 使用JQuery或JavaScript自动提交
  • 试图将自动登录集成到论坛(phpbb3)
  • PHP邮件使用SMTP从HTML表单获取信息
  • phpmyadmin,413请求实体太大
  • 在easyPHP上安装Laravel安装Windows 7 - 奇怪的安装结果
  • PHP中的MySQL NULL
  • MailChimp API 2.0时区
  • Unittests在父类中运行两次
  • 从iOS应用程序访问AWS EC2服务器上的SQLite数据库的最佳方法?
  • Echo不会将txt文件中的复制粘贴文本显示为PHP文本区域
  • Jquery自动完成不显示结果
  • 强制behat在curl请求期间使用laravel 4.2在内存db中使用
  • 我在Google App Engine上本地运行,但我运行它到GAE我只是得到这个错误:
  • 在自定义视图助手zend框架2中确定当前请求

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华