Mysql localhost != 127.0.0.1?

As you can see here, a UNIX mysqld uses sockets if used without a host name or with the host name localhost.

So it makes a difference, and in the GRANT system this difference becomes evident.

Leave a Comment