MySQL快速搭建主从关系

转至元数据起始mysql 对新实例部署一键快速实现主从关系,根据官方提供的工具mysql-utilities包中mysqlreplicate。 在使用工具须要注意:添加用户时,从库IP地址要明确指定,不要使用带有'%'格式 命令使用格式:mysqlreplicate --master=root@localhost:3306 --slave=root@localhost:3310 --rpl-use
相关文章
相关标签/搜索