MySQL 5.5 '- Binär-Protokoll ist nicht offen", Error_code: 1236

Ich versuche zu konfigurieren, master-master-Replikation, jedoch erhalte ich eine Fehlermeldung. Ich schicke meine Konfiguration unten

Server Ein

server-id = 1
replicate-same-server-id = 0
auto-increment-increment = 2
auto-increment-offset = 1

master-host = Kooler-PC
master-user = replicacao
master-password = replicacao
master-connect-retry = 60
replicate-do-db = gestao_quadra

log-bin = C:\mysql\log\log-bin.log
binlog-do-db = gestao_quadra

CHANGE MASTER TO MASTER_HOST='Cooler-PC', MASTER_USER='replicacao', MASTER_PASSWORD='replicacao', MASTER_LOG_FILE='log-bin.log ', MASTER_LOG_POS=0;

Ich bin getan haben, die gleichen Schritte für andere server ändern server-id, host und erstellt die Datei in den Pfad.

Bekomme ich diesen Fehler:

130218 18:03:02 [Note] Slave I/O thread: connected to master 'replicacao@Kooler-PC:3306',replication started in log 'log-bin.log ' at position 4
130218 18:03:02 [ERROR] Error reading packet from server: Binary log is not open ( server_errno=1236)
130218 18:03:02 [ERROR] Slave I/O: Got fatal error 1236 from master when reading data from binary log: 'Binary log is not open', Error_code: 1236
130218 18:03:02 [Note] Slave I/O thread exiting, read up to log 'log-bin.log ', position 4

Ich bin mit MySQL 5.5

  • Ist das binlog aktiviert, auf dem master? Können Sie die master-Konfiguration gut?
  • Ja, Es ist die gleiche config wie oben, außer host-und server-id
InformationsquelleAutor dextervip | 2013-02-18
Schreibe einen Kommentar