The client cannot reach the server, the connection drops or times out, the server is out of connections, or a packet is too large.
2002
Can't connect to local MySQL server through socketThe client cannot reach the server through the Unix socket; PHP mysqlnd uses 2002 for any failed connection.
2003
Can't connect to MySQL server on host:portThe TCP connection to the host and port was refused or timed out.
2006
MySQL server has gone awayThe connection was already closed (idle timeout, KILL, restart, oversized packet) when the client used it.
2013
Lost connection to MySQL server during queryThe query was sent but the connection broke before the full answer arrived.
1040
Too many connectionsEvery max_connections slot is in use, usually by idle or leaked connections.
1153
Got a packet bigger than 'max_allowed_packet' bytesA single statement or row exceeded max_allowed_packet; the server closes the connection.
No errors in this category match your search. Search the whole library.