码迷,mamicode.com
首页 >  
搜索关键字:mysql主从复制技术详解    ( 1个结果
mysql主从复制技术详解
M-S主服务器:master1第一步:打开bin-log日志,设置如下:vim/etc/my.cnflog_binserver-id=1gtid_mode=ONenforce_gtid_consistency=1第二步:进入数据库授权用户mysql-uroot-p‘密码‘grantreplicationslave,replicationclientno.to‘rep'
分类:数据库   时间:2018-03-24 00:34:35    阅读次数:274
1条  
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!