1.进入mysql容器
docker exec -it CL_mysql /bin/bash
2 进入mysql
mysql -u root -P
输入密码
3.修改密码
ALTER USER 'root'@'%' IDENTIFIED WITH mysql_native_password BY '123456';
docker exec -it CL_mysql /bin/bash
mysql -u root -P
输入密码
ALTER USER 'root'@'%' IDENTIFIED WITH mysql_native_password BY '123456';