This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Abstract: if there's ''@'localhost' user, can login with any username without password, | |
-- and any users @'%' will be ignored on login. | |
-------[Root connection]------- | |
-- All mysql installations I've seen so far have ''@'localhost' user record. | |
mysql> select host, user from mysql.user; | |
+-----------+--------+ | |
| host | user | | |
+-----------+--------+ |