复杂小伙

文章
6
资源
0
加入时间
3年2月3天

mysql 异步复制

主从配置1)主库和从库 创建复制用户并授权 异步复制mysql -uroot -prootcreate user 'repuser'@'%' identified by 'repuser123';grant replication slave on *.* to 'repuser'@'%';flush privileges;select user,host from mysql.user;2)修改my.cnf主库 改bin-addre...