Elxis CMS Forum

Support => Database => Topic started by: seadhna on November 30, 2016, 11:34:19

Title: SEC-DBC2002
Post 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!
Title: Re: SEC-DBC2002
Post by: seadhna on November 30, 2016, 12:12:47
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.
Title: Re: SEC-DBC2002
Post by: seadhna on November 30, 2016, 12:13:42
Sorry, I can't see how to close this thread.
Title: Re: SEC-DBC2002
Post by: datahell on November 30, 2016, 20:54:13
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.