PDA

View Full Version : Getting database error


juliannova
01-14-2009, 04:05 PM
Hostmonster is threating my site with disconnect.

I keep getting this error: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
/home/xxxxx/public_html/forum/includes/class_core.php on line 311

They say I am using to much system resources....do you think this is the problem?

Lynne
01-14-2009, 04:32 PM
See this page for the causes of this error: http://www.vbulletin.com/docs/html/cantconnect
That error isn't the cause of the problem, it's a result of the problem.

SEOvB
01-14-2009, 09:18 PM
Hostmonster is threating my site with disconnect.

I keep getting this error: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
/home/xxxxx/public_html/forum/includes/class_core.php on line 311

They say I am using to much system resources....do you think this is the problem?

You probably need to upgrade your hosting, or optimize your vBulletin. An unoptimized vBulletin + shared hosting with more than 10-15 people online won't last very long.