Hi,
I have just created a new container with this command:
docker run --name mysql -p 3306:3306 -e MYSQL_ROOT_PASSWORD=myql -d mysql:latest
When I try to connect with MySQL Workbench (using localhost) I get the message:
_Access denied for user 'root'@'172.17.0.1' (using password: YES)_
Any help?
The above works for me. You're sure you're entering the correct password (it's myql, not mysql)?
Shame on me! Sorry...
np :)
1 hour with the same problem and it WAS the password.
ERROR 1130 (HY000): Host '172.17.0.1' is not allowed to connect to this MySQL server
got the same problem but not because of password
Why is IP 172.17.0.1 different from what I set
Most helpful comment
ERROR 1130 (HY000): Host '172.17.0.1' is not allowed to connect to this MySQL server
got the same problem but not because of password