![]() |
Sql error Please help
Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /usr2/mydomain.com/web/pp-inc.php on line 58
I cannot connect to the PhotoPost database. [$php_errormsg] Anyone knows how to solve this? Im getting stuck |
tried rebooting your server?
|
On the 'corruption' front, could be a million and one things.
On the 'settings' front, most likely (duh!) you have too many SQL connections open. Is it a busy site ? Are connections set to 'persistant' ? Has the default max number of 100 been reduced ? I would check running processes (mysqladmin proc) to see how many are using sql. Compare to your max connections setting (mysqladmin var). You may wanna reboot b4 you change anything, or restart mysql. Then you could try increasing the number of max connections set in my.cnf then restart mysql. (dont increase beyond your systems capacity). |
your hosting mysql server is fucked up , contact to them if you get this message after some working days , if not , if you got this message first time you install , it can be your fault about configuring . open with txt editor and check line 58
|
Quote:
|
Quote:
|
Quote:
jDoG |
All times are GMT -7. The time now is 10:39 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123