Navicat 连接docker mysql报错
解决办法:
docker exec -it dc10e8b328d7 bash
mysql -u root -p
输入密码
use mysql;
ALTER USER 'root'@'%' IDENTIFIED WITH mysql_native_password BY '123456'; //123456为密码
ya tudou
解决办法:
docker exec -it dc10e8b328d7 bash
mysql -u root -p
输入密码
use mysql;
ALTER USER 'root'@'%' IDENTIFIED WITH mysql_native_password BY '123456'; //123456为密码