![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
mysql
Lee_Suoer
这个作者很懒,什么都没留下…
展开
-
centos7 安装mysql5.7
1 下载rpm包并安装 wget http://repo.mysql.com/mysql57-community-release-el7-8.noarch.rpm rpm -ivh mysql57-community-release-el7-8.noarch.rpm 2 yum -y install mysql-server 配置文件:/etc/my.cnf 日志文件:...原创 2018-08-31 13:31:24 · 123 阅读 · 0 评论 -
atlas mysql5.7 读写分离
mysql5.7的主从配置: 192.168.93.128 mysql 主 192.168.93.129 mysql 从 192.168.93.130 atlas主 主库指定server-id 和 log-bin属性 从库的配置 之后启动两个数据库 在主库中配置好一个用户,使从库以这个用户的身份来连接到主库 从库配置,先停止 stop slave; chang...原创 2018-11-04 15:03:49 · 755 阅读 · 0 评论