Zendframework frame, before the Errorcontroller catch the exception of the error (too many connections?), how to get and handle this kind of exception information

Source: Internet
Author: User
Zendframework, how do I get and handle this type of error message before the Errorcontroller catches the error (too many?)?
Zendframework Framework handles error mechanisms before catching errors, an error is:

Fatal error:xxxx MYSQL Because of many connect error XXXXX

This error has the means to obtain and modify the error message display it?

PHP Novice, please advise, thank you.
------Solution--------------------
Because if the extension is a direct throw fatal, it's hard to catch.
In this case, the key issue is that there is a problem with your MySQL configuration, time wait is too long and no long connection causes too many MySQL connection errors

Check your MySQL configuration.
  • Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.