mysql master-slave settings

Reference:
http://blog.miniasp.com/post/2012/07/04/How-to-setup-MySQL-55-One-way-replication-Master-Slave-mode.aspx

http://fghjk.blog .51cto.com/4359709/830794

http://dev.mysql.com/doc/refman/5.5/en/mysqldump.html

http://blog.csdn.net/hguisu/article/details/7325124

http:// coding.memory-forest.com/%E5%BB%BA%E7%AB%8B%E4%B8%80%E5%80%8Bmysql%E4%BC%BA%E6%9C%8D%E5%99%A8 %E7%9A%84%E5%82%99%E6%8F%B4ms-replication.htmlNotes

:
1 Permission settings
CHANGE MASTER TO MASTER_HOST='0.0.0.1', MASTER_PORT=3306, MASTER_USER='repluser',
  MASTER_PASSWORD='web';


2 If the slave server has slave status enabled, other databases cannot be used, and phpmyadmin cannot log in.

3 Make sure that the slave server can connect to the master server

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326607693&siteId=291194637