摘要: //mysql8.0之前版本。设置主库grant all privileges on *.* to 'root'@'%' identified by '123456' with grant option; //mysql8.0以及之后版本。设置主库create user 'root'@'%'iden 阅读全文
posted @ 2022-11-06 22:47 每日一小步 阅读(11) 评论(0) 推荐(0) 编辑
摘要: 链接:https://blog.csdn.net/m0_70556273/article/details/126490767 阅读全文
posted @ 2022-11-06 22:33 每日一小步 阅读(14) 评论(0) 推荐(0) 编辑
摘要: 链接:https://blog.csdn.net/qq_52572621/article/details/127105324 阅读全文
posted @ 2022-11-06 22:29 每日一小步 阅读(9) 评论(0) 推荐(0) 编辑
摘要: 链接:https://www.jianshu.com/p/2759f872689a mysql远程连接权限 grant all privileges on *.* to ‘root‘@‘%‘ identified by ‘123456‘ with grant option; 语句报错 这条语句适用于 阅读全文
posted @ 2022-11-06 21:22 每日一小步 阅读(263) 评论(0) 推荐(0) 编辑
摘要: 链接:https://blog.csdn.net/qq_30180559/article/details/83628616 1. 在两台服务商分别按照好宝塔 及其数据库 2.分别在两台服务器上创建数据库 2.1 假设一号服务器:192.168.0.1 二号服务器:192.168.0.2 2.3 对于 阅读全文
posted @ 2022-11-06 18:50 每日一小步 阅读(421) 评论(0) 推荐(0) 编辑
摘要: 链接:https://www.pudn.com/news/632ae4752aaf6043c9a3c611.html 查看镜像是否拉取成功 docker images 借助镜像创建两个mysql容器(注:要放行端口,我这里是3339和3340) docker run -p 3339:3306 --n 阅读全文
posted @ 2022-11-06 16:16 每日一小步 阅读(95) 评论(0) 推荐(0) 编辑