mysql> select user, password, host from user;
+------+----------+---------------------------------------------+
| user | password | host |
+------+----------+---------------------------------------------+
| root | | localhost |
| root | | host-1.iluruco.clients.pmedia.com |
| root | | 127.0.0.1 |
| | | localhost |
| | | host-2.iluruco.clients.pmedia.com |
+------+----------+---------------------------------------------+
but I can log in the MySQL server on my machine using
$ mysql
mysql> select user();
+----------------+
| user() |
+----------------+
| qaz@localhost |
+----------------+
1 row in set (0.00 sec)
So why qaz doesn't exist in the user table?
rootand forget it. What should I do? – qazwsx May 03 '12 at 20:16serviceis no longer a morden way of restarting mysql server. Is it true? – qazwsx May 08 '12 at 19:25