Support > Database

SEC-DBC2002

(1/1)

seadhna:
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!

seadhna:
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.

seadhna:
Sorry, I can't see how to close this thread.

datahell:
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.

Navigation

[0] Message Index

Go to full version