skip-name-resolve
To your MySQL configuration file (my.ini/my.cnf) and then be sure to reload (restart) the MySQL database server. The ‘[mysqld]‘ section of the my.cnf file now looks like this:
1 2 3 4 5 |
[mysqld] port = 3306 socket = /tmp/mysql.sock skip-locking skip-name-resolve |
From Microsoft Windows this can be done from the ‘Services’ window in ‘Administrative tools’ or in Debian/Ubuntu entering this command:
1 |
/etc/init.d/mysql restart |