Error Message: "No such file or directory"

Yesterday, it was reported to me that our site was down and showed the following error message:

Omeka Database Error

"No such file or directory.

Confirm that the information in your db.ini file is correct"

After a few minutes, the site was back up without any administrative attention.

I'm sure others have encountered this error before. What information in the db.ini file would I need to look for? Any suggestions on a solution?

Thank You,


Usually that error means you're using a local UNIX socket connection to your server, and there's no socket file at the path PHP's configured to look at.

I'm not sure what would cause that to happen intermittently, though. Maybe your MySQL was just stopped/restarting at the time?