mysql
溪岚画
千里之行,始于足下。
展开
-
docker 中 MySQL镜像的使用方法
docker 中 MySQL镜像的使用方法docker pull mysql 拉取mysql镜像docker images|grep mysql 查看镜像创建 mysql容器docker run -e MYSQL_ROOT_PASSWORD=root --name mysql_xiaoxi -it -p 3306:3306 mysql:latest参数-e, --env li...原创 2019-12-30 21:01:15 · 211 阅读 · 1 评论 -
mysql 连接错误 2058 Plugin caching_sha2_password could not be loaded
本地去连接mysql时报错,错误 2058 Plugin caching_sha2_password could not be loaded由于mysql8.0的加密方法变了。mysql8.0默认采用caching_sha2_password的加密方式。sqlyog不支持这种加密方式。解决办法必须进入mysql命令行1、修改密码过期ALTER USER'root'@'lo...原创 2019-12-30 19:37:26 · 3663 阅读 · 6 评论