Go to the first, previous, next, last section, table of contents.


Can't connect to local MySQL server error.

A MySQL client can connect to the mysqld server in two different ways: Unix sockets, which connects trough a file in the file system, (default `/tmp/mysqld.sock'), or TCP/IP which connects trough a port number. Unix sockets are faster than TCP/IP but can only be used when connection to a server on the same computer. Unix sockets are used if one doesn't specify a hostname or if one specifies the special hostname 'localhost'.

Here follows some reasons to the error Can't connect to local MySQL server.


Go to the first, previous, next, last section, table of contents.