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

c - sscanf() double showing zeros -

command line - Python: find current directory of remote "cmd.exe" processes -

pentaho - Carte Status / Kettle Slave Server Status page shows status for random runs instead of the latest run -