phpmyadmin - MySQL connection conflict with wildcard (any) user and host -


i have weird user conflict on mysql server. have 2 users. stuck first wildcard user (any user @ host) , had deny him access security :

╔══════╦══════════════╦══════════╦═══════════════════╦═══════╗ ║ user ║     host     ║ password ║ global privileges ║ grant ║ ╠══════╬══════════════╬══════════╬═══════════════════╬═══════╣ ║  ║ %            ║ no       ║ usage             ║ no    ║ ║ root ║ 10.15.15.115 ║ no       ║ privileges    ║ yes   ║ ╚══════╩══════════════╩══════════╩═══════════════════╩═══════╝ 

the second 1 one using (forget fact doesn't have password). when try connect 'root'@'10.15.15.115', mysql says :

access denied ''@'%' 

even though explicitly specifying connect 'root'@'10.15.15.115'

why mysql confusing first wildcard user?

the host field specifies host you're connecting from, perception of wrote makes sound 10.15.15.115 server you're connecting to.

if mysql can't match username , host, falls anonymous user (when enabled), looks problem here.

based on results you've shown, i'm not sure how disabled anonymous user, i'm pretty sure problem host not matching , result it's trying anonymous user you've disabled, causing error message.

when setting user, remember hosts localhost, 127.0.0.1, , 10.15.15.115 different connections, if connection happening on same machine you'll need use proper host value in order connect.


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -