mysql idea 连接被否决[28000][1045] Access denied for user 'root'@'172.17.0.1' (using mysqlideadocker
程序员文章站
2022-03-04 09:35:59
...
idea连接docker里的mysql镜像时报错:
[28000][1045] Access denied for user 'root'@'172.17.0.1' (using password: YES)
解决:
命令:docker exec -it mysql /bin/bash
进入mysql:mysql -uroot -proot
开启远程访问: ALTER USER 'root'@'%' IDENTIFIED WITH mysql_native_password BY 'root';
上一篇: rabbitmq 使用
下一篇: Excel独立打开
推荐阅读
-
java访问数据库被拒绝,不能连接数据库ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
-
java访问数据库被拒绝,不能连接数据库ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
-
解决连接mysql报错:ERROR 1045 (28000): Access denied for user ‘root’@‘localhost’ (using password: YES)
-
mysql idea 连接被否决[28000][1045] Access denied for user 'root'@'172.17.0.1' (using mysqlideadocker