MySQL Error “Too many connections”

后端 未结 7 2145
猫巷女王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:20

    Make sure you are not using persistent connections. This is usually a bad idea..

    If you've got that .. At the very most you will need to support just as much connections as you have apache processes. Are you able to change the max_connections setting?

提交回复
热议问题