Mysql 主从配置
mysql> GRANT REPLICATION SLAVE ON *.* to 'mysync'@'192.168.121.129' identified by '123456';mysql> show master status;
+------------------+----------+--------------+------------------+
| File | Position | Binlog_Do_DB | Binlog_Ignore_DB |
+------------------+----------+--------------+------------------+
| mysql-bin.000001 | 264 | | |
+------------------+----------+--------------+------------------+
1 row in set (0.00 sec)
页:
[1]