SQLSTATE[HY000] [2002] No such file or directory

This article should help:

If not, can you share the PHP code that makes the connection to the MySQL database without including sensitive parts like your password?

6 Likes