愿所有的美好和期待都能如约而至

MYSQL_ROOT_PASSWORD 已设置,但“访问被拒绝用户 'root'@'localhost' 使用密码:YES";在码头集装箱

发布时间:  来源:互联网  作者:匿名  标签:docker docker-compose dockerfile error MYSQL_ROOT_PASSWORD is set but getting &a  热度:37.5℃

本文介绍了MYSQL_ROOT_PASSWORD 已设置,但“访问被拒绝用户 'root'@'localhost'(使用密码:YES)";在码头集装箱的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个 docker-compose 文件和一个 Dockerfile.MySQL 已正确安装.我已经设置了MYSQL_ROOT_PASSWORD.但是当尝试访问 mysql db 时,出现错误 – 访问被拒绝.我已经阅读了本网站的其他主题,但没有得到太多帮助.:(

I have a docker-compose file and a Dockerfile. MySQL is installed properly. I have set MYSQL_ROOT_PASSWORD. But when trying to access mysql db, getting the error – Access denied. I have read the other threads of this site, but couldn’t get that much help.

勇敢去编程!

勇敢的热爱编程,未来的你一定会大放异彩,未来的生活一定会因编程更好!

TOP