Are Users ‘User’@’%’ and ‘User’@’localhost’ not the same?

User@% would allow access from all locations. User@localhost would only allow access from localhost. They are two different users with two different passwords (though you can set them to the same password, but if you update one password the other will not auto-update)

Leave a Comment