Snippets tagged “unix-socket”
2 snippets use this tag.
- PHP Connection failed: SQLSTATE[HY000] [2002] Connection refusedPHP
The error message "SQLSTATE[HY000] [2002] Connection refused" typically indicates that the client was unable to establish a connection to the database server.
- Warning: mysqli_connect(): (HY000/2002): No such file or directoryPHP
This error message is indicating that there is a problem connecting to the MySQL server.