MYSQL configuration replicate error 1200 _ MySQL

Source: Internet
Author: User
For MYSQL configuration replicate, the error 1200 is returned. bitsCN.com

Master server: window XP, mysql 5.5

Slave server: window7, mysql 5.1

When starting The server slave, The system always prompts error 1200: The server is not configured as slave; fix in config file or with change master.

Use it directly on the slave server

Change master

Master_host = '1970. 168.1.103 ',

Master_user = 'repl ',

Master_password = '000000 ',

Master_log_file = 'master-bin.000001 ', # consistent with the master server

Master_log_pos = 107; # consistent with the master server

You can start slave or report this error.

The younger brother really collapsed and asked you again.

The following is my. ini configuration of the master/slave server:

Master:

Server-id = 1

Log-bin = C:/Program Files/MySQL Server 5.5/master-bin.log

Binlog-do-db = ld

Binlog-ignore-db = mysql

Log-error = C:/Program Files/MySQL Server 5.5/master-error.log

Relay-log = C:/Program Files/MySQL Server 5.5/slave-relay.log

Relay-log-info-file = C:/Program Files/MySQL Server 5.5/slave-relay-log.info

Relay-log-index = C:/Program Files/MySQL Server 5.5/slave-relay-log.index

Max_connections = 500

From:

Service-id = 2

Master-host = 192.168.1.103

Master-user = repl

Masters-password = 111111

Master-port = 3306

Replicate-do-db = ld

Log-bin = mysql-bin

Author shadow_dance

BitsCN.com

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.