Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 01:01 am EST

Geeklog Forums

"Too many connections" mysql error.


Dr.Acula

Anonymous
Text Formatted Code
Warning: mysql_connect(): Too many connections in /home/dscrowe/public_html/system/databases/mysql.class.php on line 112
Cannnot connect to DB server
 


I've just got this error on my page. Seems to have happened pretty spontaniously. Suggestions?
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
That can happen when you get a lot of simultanous hits on your page (and/or your hosting service doesn't allow many SQL requests at the same time). There isn't really anything that Geeklog could do here - it's all in the MySQL configuration.

If you get that often, try talking to your hosting service.

bye, Dirk
 Quote

Dr.Acula

Anonymous
Thanks for the explanation, I woke up this morning and everything seems back to normal.
 Quote

Dr.Acula

Anonymous
Now I'm getting this error:

Text Formatted Code
Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/dscrowe/public_html/system/databases/mysql.class.php on line 112
Cannnot connect to DB server
 
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
That usually means that the MySQL server isn't even running. Talk to your hosting service.

bye, Dirk
 Quote

All times are EST. The time is now 01:01 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content