MySQL7的root密码校验方式:mysql_native_password
MySQL8的root密码校验方式:caching_sha2_password
将mysql8的root密码校验方式改为7的:
ALTER USER 'root'@'%' IDENTIFIED WITH mysql_native_password BY '123456';
进入docker容器:防止中文显示乱码:
docker exec -it xxx-name env LANG=C.UTF-8 /bin/bash
标签:ShardingSphere,校验,笔记,学习,mysql,password,root,native From: https://www.cnblogs.com/cx850116/p/17856741.html