linux - MySQL 'user'@'%' is not including 'user'@'localhost' -


i've seen other questions little different.

i've created mysql user '%' , granted permissions.

on mac , windows: i'm able login using this.

mysql -u user -p<password> 

on linux fails invalid password 'user'@'localhost'.

any idea why? hoping 'user'@'%' hosts including localhost behaving in mac , windows different on linux.

i asked question myself while back. using % host when creating mysql user

localhost special mysql, it's connection on named pipes or unix socket. using % host not include localhost.


Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

css - Firefox for ubuntu renders wrong colors -