Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1135
  • Last Modified:

MySQL Error: Couldn't connect to MySQL server

Lately I've been getting this error:

Warning: mysql_connect() [function.mysql-connect]: User davideo7 already has more than 'max_user_connections' active connections in C:\inetpub\vhosts\vizzed.com\httpdocs\vizzedboard\lib\function.php on line 22

Couldn't connect to MySQL server

I've gotten them before but I set the MySQL server to automatically restart itself since I adjusted the Recovery method for the service.  I did some updates to the server that may have resulted into it not doing a recovery.  Here's my PHP info page
http://www.vizzed.com/phpinfo.php

I have Parallel Plesk on a Windows 2008 Server.
0
davideo7
Asked:
davideo7
  • 3
2 Solutions
 
dehcbad25Commented:
it seems that you are already connected and myabe your limit of connection is 1.
There is 2 ways, 1) make sure you log off, when you disconnect from the database.
2) Add a higher number to the connection number max.
C:\inetpub\vhosts\vizzed.com\httpdocs\vizzedboard\lib\function.php on line 22

 
0
 
shalabhsharmaCommented:
Either restart the MySQL serverice or increase the number of remote connection in you mysql.ini or in function.php that can connect simultaneously to mysql.
0
 
shalabhsharmaCommented:
Either restart the MySQL serverice or increase the number of remote connection in  my.ini  file or in function.php that can connect simultaneously to mysql.
0
 
davideo7Author Commented:
You just said the same thing twice.
0
 
shalabhsharmaCommented:
Sorry.. earlier there was a typo error 'mysql.ini ' it is 'my.ini'
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now