您的位置: 首页 > 文章 > centos7 mysql5.7 gtid 搭建主从 centos7 mysql5.7 gtid 搭建主从 分类: 文章 • 2023-12-22 15:42:16 mysql5.6.5之前不支持此操作 主上操作 wget -i -c http://dev.mysql.com/get/mysql57-community-release-el7-10.noarch.rpm yum -y install mysql57-community-release-el7-10.noarch.rpm yum -y install mysql-community-server vim /etc/my.cnf 需要重置一次密码 授权用户,刷新权限 从上操作 也需要重置密码