Error map

SQLSTATE[HY000] [2002] PDOException: SQLSTATE[HY000] [2002] Connection refused

PHP · layer 4, Application & API

Open the full error page →

Centre: this error. First ring: errors it is linked with (7). Outer ring: what those are linked with. Colours show the layer of a request each error belongs to. Click any dot to re-centre the map on it; hover to follow its connections. The centre dot opens the error page.

SQLSTATE[HY000] [2002] — PDOException: SQLSTATE[HY000] [2002] Connection refused (PHP)SQLSTATE[HY…HikariCP timeout — HikariPool-1 - Connection is not available, request timed out after 30000ms (Java)HikariCP timeoutcould not find driver — PDOException: could not find driver (PHP)could not find driv…ECONNREFUSED — Error: connect ECONNREFUSED 127.0.0.1:5432 (Node.js)ECONNREFUSED1049 — MySQL ERROR 1049 (42000): Unknown database 'x' (MySQL)10492002 — MySQL ERROR 2002 (HY000): Can't connect to local MySQL server through socket (MySQL)20021040 — MySQL ERROR 1040 (08004): Too many connections (MySQL)1040Communications link failure — com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure (Java)Communications link…2006 — MySQL ERROR 2006 (HY000): MySQL server has gone away (MySQL)2006Lock wait timeout — Lock wait timeout exceeded; try restarting transaction (MySQL 1205) (SQL)Lock wait timeout2003 — MySQL ERROR 2003 (HY000): Can't connect to MySQL server on 'host:3306' (111) (MySQL)2003Call to undefined function — PHP Fatal error: Uncaught Error: Call to undefined function (PHP)Call to undefined f…GD missing — Fatal error: Uncaught Error: Call to undefined function imagecreatefromjpeg() (PHP)GD missingintl missing — Class "NumberFormatter" not found / The "intl" PHP extension is required (PHP)intl missingEADDRINUSE — Error: listen EADDRINUSE: address already in use :::3000 (Node.js)EADDRINUSEFailed to fetch — TypeError: Failed to fetch / NetworkError when attempting to fetch resource (JavaScript)Failed to fetchETIMEDOUT — API Request Timed Out (ETIMEDOUT / ReadTimeout / timeout of 30000ms exceeded) (API)ETIMEDOUT1045 — MySQL ERROR 1045 (28000): Access denied for user (MySQL)1045DB connection — WordPress: Error Establishing a Database Connection (WordPress)DB connection1046 — MySQL ERROR 1046 (3D000): No database selected (MySQL)1046could not connect — PostgreSQL: could not connect to server / connection refused — Is the server running on host and accepting TCP/IP connections? (PostgreSQL)could not connect2013 — MySQL ERROR 2013 (HY000): Lost connection to MySQL server during query (MySQL)2013MySQL won't start — Job for mysql.service failed because the control process exited with error code (MySQL)MySQL won't startEMFILE — Too many open files (EMFILE) (Linux)EMFILE1114 — MySQL ERROR 1114 (HY000): The table 'x' is full (MySQL)11141418 — MySQL ERROR 1418 (HY000): This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA in its declaration and binary logging is enabled (MySQL)1418

Directly related (7)

Two steps away (18)

2006MySQL

MySQL ERROR 2006 (HY000): MySQL server has gone away

The connection to MySQL was closed — usually by a timeout or a packet larger than `max_allowed_packet`.

Lock wait timeoutSQL

Lock wait timeout exceeded; try restarting transaction (MySQL 1205)

A query waited too long for a row lock held by another transaction and gave up.

2003MySQL

MySQL ERROR 2003 (HY000): Can't connect to MySQL server on 'host:3306' (111)

The client couldn’t reach MySQL over TCP — server down, wrong host/port, firewall, or MySQL bound to localhost only.

Call to undefined functionPHP

PHP Fatal error: Uncaught Error: Call to undefined function

PHP can’t find the function you called — usually a missing extension, missing include, or namespace issue.

GD missingPHP

Fatal error: Uncaught Error: Call to undefined function imagecreatefromjpeg()

The GD extension (or its JPEG/WebP support) isn’t installed for the PHP version serving the site.

intl missingPHP

Class "NumberFormatter" not found / The "intl" PHP extension is required

Code uses the intl extension (NumberFormatter, Collator, IntlDateFormatter) but it isn’t installed.

EADDRINUSENode.js

Error: listen EADDRINUSE: address already in use :::3000

Another process is already listening on that port.

Failed to fetchJavaScript

TypeError: Failed to fetch / NetworkError when attempting to fetch resource

The browser couldn’t complete the request at the network level — CORS, DNS, offline, blocked mixed content, or the server refused…

ETIMEDOUTAPI

API Request Timed Out (ETIMEDOUT / ReadTimeout / timeout of 30000ms exceeded)

The client gave up waiting — either for the connection to open or for the response to arrive.

1045MySQL

MySQL ERROR 1045 (28000): Access denied for user

MySQL rejected the login — wrong password, wrong user/host combination, or the user doesn’t exist.

DB connectionWordPress

WordPress: Error Establishing a Database Connection

WordPress can’t connect to its MySQL/MariaDB database with the credentials in wp-config.php, or the database server is down.

1046MySQL

MySQL ERROR 1046 (3D000): No database selected

A query referenced tables without a database selected (no USE and no db in the connection).

could not connectPostgreSQL

PostgreSQL: could not connect to server / connection refused — Is the server running on host and accepting TCP/IP connections?

The client reached no PostgreSQL listener at that host/port — the server is down, listening elsewhere, or not accepting remote co…

2013MySQL

MySQL ERROR 2013 (HY000): Lost connection to MySQL server during query

The connection dropped mid-query — server crash/restart, timeouts, or a proxy cutting long queries.

MySQL won't startMySQL

Job for mysql.service failed because the control process exited with error code

The MySQL/MariaDB service failed to start — the real reason is in the MySQL error log.

EMFILELinux

Too many open files (EMFILE)

The process hit its file-descriptor limit — sockets, files and pipes all count.

1114MySQL

MySQL ERROR 1114 (HY000): The table 'x' is full

MySQL couldn’t extend the table — disk full, a size limit, or a MEMORY table hitting max_heap_table_size.

1418MySQL

MySQL ERROR 1418 (HY000): This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA in its declaration and binary logging is enabled

Creating a stored function failed because binary logging requires it to declare its data access characteristics.