来源 http://stackoverflow.com/questions/10299148/mysql-error-1045-28000-access-denied-for-user-billlocalhost-using-passw
摘要
You probably have an anonymous user ''@'localhost'
or ''@'127.0.0.1’
Hence, such an anonymous user would "mask" any other user like
'[any_username]'@'%'
.'billy'@'localhost'
does match 'billy'@'%'
, but would match (e.g.) ''@'localhost'
beforehands.
by lucoz