docker pull mysql:8.0.25
docker run -itd --restart always --name mysql8 -p 3309:3306 -e MYSQL_ROOT_PASSWORD=123456 mysql:8.0.25 --lower-case-table-names=1
ALTER USER 'root'@'%' IDENTIFIED BY '123456' PASSWORD EXPIRE NEVER; #更改加密方式
ALTER USER 'root'@'%' IDENTIFIED WITH mysql_native_password BY '123456'; #更新用户密码
FLUSH PRIVILEGES; #刷新权限