@ Dagon had the right idea, but was a little shorter in the details.
If you use access 127.0.0.1/phpmyadmin and look carefully at Users who are configured in MysQL, you should see 3 versions of the root username.
This is due to the fact that in MySQL each user identifier is associated with a HOST, that is, with a PC (IP address) from which the user is allowed to enter. So your 3 '' root userid is actually the same user id that is allowed to login from 3 separate HOSTS. Usually out of the box “root” has 3 HOSTS settings, 127.0.0.1, localhost and :: 1
It: -
localhost is an alias for THIS MACHINE created from your HOSTS file (c: \ windows \ system32 \ drivers \ etc \ hosts)
127.0.0.1 - IPv4 loopback IP THIS MACHINE
:: 1 - IPv6 loopback IP address THIS MACHINE
What probably happens to you is that you set a password for root@127.0.0.1, but not for others. Now your browser "arbt temporarily" decides to use :: 1 or 127.0.0.1 as the host IP address, so when it uses :: 1, your login will fail.
So log in with 127.0.0.1/phpmyadmin and change all 3 'root' usernames to have the same password that you should no longer see this problem.
Also make sure your HOSTS file has these 2 entries
127.0.0.1 localhost ::1 localhost
RiggsFolly Oct 21 '13 at 9:27 am 2013-10-21 09:27
source share