????Mysql????????????
???????????? ???????[ 2014/7/30 10:01:16 ] ????????????????????
???????????
????1?????????ip??192.168.1.31???????ip??192.168.1.32
????2????????????????????????????
?????????裺
????1????????????????????????????????
????[root@zhu~]#vim/etc/my.cnf
????[mysqld]
????server_id=31
????log_bin
????[root@zhu~]#servicemysqlrestart
????2?????????????????
????mysql>grantreplicationslaveon*.*toslave@"192.168.1.32"identifiedby"123";
????3???????????????????????????????
????[root@cong~]#vim/etc/my.cnf
????[mysqld]
????server_id=32
????[root@cong~]#servicemysqlrestart
????4??????????????????????
????mysql>changemasterto
????->master_host="192.168.1.31"??
????->master_user="slave"??
????->master_password="123"??
????->master_log_file="localhost-bin.000001"??
????->master_log_pos=472;
????5???????????????????
????mysql>startslave;
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11