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

Check whether the following configuration is normal:

host、port、password、database

Read More: