phoenixreviews
New Member
- Messages
- 34
- Reaction score
- 0
- Points
- 0
My site has recently stopped working, due to database connection errors. I haven't update any code on the site, but now PHP is showing me the following error:
This is repeated every time I try to visit a page which requires database access.
I can access the database fine with phpMyAdmin, and CPanel and Account Control Panel both work correctly.
Is there anything I can do to fix this? Any possible cause? As I said, no changes have been made to the code recently, so it's not a simple connection fault.
Site: phoenixreviews.info
Server: starka
Update: The exact page that is failing: http://phoenixreviews.info/review/list
Both this, and the author list page, are showing "500 Internal Server Error".
[29-Sep-2010 22:46:06] PDO Connection Error: SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)
This is repeated every time I try to visit a page which requires database access.
I can access the database fine with phpMyAdmin, and CPanel and Account Control Panel both work correctly.
Is there anything I can do to fix this? Any possible cause? As I said, no changes have been made to the code recently, so it's not a simple connection fault.
Site: phoenixreviews.info
Server: starka
Update: The exact page that is failing: http://phoenixreviews.info/review/list
Both this, and the author list page, are showing "500 Internal Server Error".
Last edited: