Jamroom Logo Jamroom 5 Core
is now Open Source!
User Support Forum Archive (Read Only)
User Documentation and How To's:
SQL Errors
flyprofyle



Joined: 14 Mar 2010
Posts: 61

Posted: 02/13/11 06:07 
I get this page error" ERROR: dbConnect() unable to connect to database server "localhost"
MySQL error 2002 - Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (11)"

what does this mean and how do i fix it?

Back to top
smith.kyle
CodeSmith


Joined: 27 Apr 2006
Posts: 22009
Location: Southern California

Posted: 02/13/11 14:33 
Sounds like something is up with your mysql server - I would check with your hosting provider about it.

Kyle


_________________
kyle[at]jamroom.net

Yes...that's a soda machine...

I get bored when no one's posting...
Back to top
flyprofyle



Joined: 14 Mar 2010
Posts: 61

Posted: 02/16/11 17:17 
i did and they told me "We suggest you to contact your programming team and ask them to optimize
the code so the connections to the database doesn't reach the maximum.
The programmer must close all unnecessary database connection."

Back to top
smith.kyle
CodeSmith


Joined: 27 Apr 2006
Posts: 22009
Location: Southern California

Posted: 02/16/11 20:02 
If you are using a shared hosting provider, they might set the max_connections value for mysql for mysql relatively low so that one site doesn't bring the server down. Jamroom is _really_ good about closing all connections when it is through with them, so you really shouldn't see an issue with this.

But you aren't getting a "too many connections" error:

http://www.jamroom.net/FAQ_MySQL_Too_Many_Connections

Your mysql server crashed instead. Do you see any other errors like that? Having them just restart mysql should work...

Kyle


_________________
kyle[at]jamroom.net

Yes...that's a soda machine...

I get bored when no one's posting...
Back to top
Display posts from previous:   
User Support Forum Archive (Read Only)
User Documentation and How To's

 
Solutions
• Social Media Platform
• Social Networking Software
• Musician Website Manager
• Community Builder
Products
• Jamroom Core
• Jamroom Addons
• Jamroom Modules
• Jamroom Marketplace
Support
• Support Forum
• Documentation
• Support Center
• Contact Support
Community
• Community Forum
• Member Sites
• Developers
Company
• About Us
• Contact Us
• Privacy Policy
©2003 - 2010 Talldude Networks, LLC.