Elxis CMS Forum
Support => Database => Topic started by: seadhna on November 30, 2016, 11:34:19
-
Website is down, and this error has started appearing, but no changes have been made:
Unrecoverable error!
Database connection failed! SQLSTATE[HY000] [2002] No such file or directory
Reference code: SEC-DBC2002
Sorry for the inconvenience.
From another post (in Greek) it seemed that configuration was not correct, but nothing has been changed manually in the configuration. Any ideas?
Thanks!
-
Hi again, host says issue was caused by another site on shared hosting abusing certain services causing the memory to run out, this in turn causes mysql not being able to run temporary tables or run properly. Not an Elxis issue.
-
Sorry, I can't see how to close this thread.
-
The connection to database fails. Error code 2002 is from from PDO and says that the supplied connection arguments (usually the DSN string) are wrong. In the Elxis error screen, or in Elxis error log, you should see a more detailed message about this problem like this:
Database connection failed! DETAILED ERROR MESSAGE HERE
If the problem persists and you need more help copy-paste here the full error message.