MySQL Error “Too many connections”

后端 未结 7 2140
猫巷女王i
猫巷女王i 2020-11-30 05:37

I am using MySQL 5.0 for a site that is hosted by GoDaddy (linux).

I was doing some testing on my web app, and suddenly I noticed that the pages were refreshing rea

相关标签:
7条回答
  • 2020-11-30 06:40

    Are you completely sure that the database server is completely dedicated to you?

    Log on to the datbase as root and use "SHOW PROCESSLIST" to see who's connected. Ideally hook this into your monitoring system to view how many connections there are over time and alert if there are too many.

    The maximum database connections can be configured in my.cnf, but watch out for running out of memory or address space.

    0 讨论(0)
提交回复
热议问题