MySQL won’t connect to 127.0.0.1:3306 since it interprets “llocalhost” as a trigger to use the Unix socket, it will use /var/run/mysqld/mysqld.sock instead. Without using Unix sockets, you can connect to MySQL via TCP/IP by specifying “127.0.0.1″ instead of “localhost”.
MySQL won’t connect to 127.0.0.1:3306 since it interprets “llocalhost” as a trigger to use the Unix socket, it will use /var/run/mysqld/mysqld.sock instead. Without using Unix sockets, you can connect to MySQL via TCP/IP by specifying “127.0.0.1″ instead of “localhost”.