Sureshot324
November 16th, 2009, 11:33 PM
If I create a user in mysql with a wildcard host, they are unable to login locally. I just get an error:
ERROR 1045 (28000): Access denied for user 'myuser'@'localhost' (using password: YES)
If I specify localhost like this:
CREATE USER 'myuser'@'localhost' IDENTIFIED BY 'password'
then they are able to login locally fine. Is this normal? If I specify a wildcard host, shouldn't they be able to login from anywhere, including localhost?
ERROR 1045 (28000): Access denied for user 'myuser'@'localhost' (using password: YES)
If I specify localhost like this:
CREATE USER 'myuser'@'localhost' IDENTIFIED BY 'password'
then they are able to login locally fine. Is this normal? If I specify a wildcard host, shouldn't they be able to login from anywhere, including localhost?