标签:
一、主从数据库配置 可实现读写分离主从同步检查
mysql> show slave status\G
==================================
Slave_IO_State:
Master_Host: 192.168.1.12
Master_User: repuser
Master_Port: 3306
Connect_Retry: 60
Master_Log_File: mysql-bin.000005
Read_Master_Log_Pos: 415
Relay_Log_File: localhost-relay-bin.000008
Relay_Log_Pos: 561
Relay_Master_Log_File: mysql-bin.000005
Slave_IO_Running: YES
Slave_SQL_Running: YES
Replicate_Do_DB:
……………省略若干……………
Master_Server_Id: 1
标签:
原文地址:http://www.cnblogs.com/guominggigi/p/5642721.html