Foros del Web » Programación para mayores de 30 ;) » Bases de Datos General » Mysql »

Replicacion Master - Slave

Estas en el tema de Replicacion Master - Slave en el foro de Mysql en Foros del Web. Tengo mi servidor Master en Windows XP. MySQL 5.5: Configure el archivo my.ini log-bin=mysql-bin server-id = 1 binlog-do-db=base_dedatos replicate-do-db=base_de_datos innodb_flush_logs_at_trx_commit=1 sync-binlog=1 Le di a un ...
  #1 (permalink)  
Antiguo 19/07/2011, 11:42
 
Fecha de Ingreso: abril-2011
Ubicación: Mendoza
Mensajes: 42
Antigüedad: 13 años
Puntos: 0
Pregunta Replicacion Master - Slave

Tengo mi servidor Master en Windows XP.

MySQL 5.5:

Configure el archivo my.ini

log-bin=mysql-bin
server-id = 1
binlog-do-db=base_dedatos
replicate-do-db=base_de_datos
innodb_flush_logs_at_trx_commit=1
sync-binlog=1

Le di a un usuario el

GRANT REPLICATION SLAVE ON *.* TO 'user'@'%' INDENTIFIED BY 'contraseña'

y en el esclavo configure el my.cnf asi:

[mysqld]
skip-innodb
server-id=1311086509

Configure un usuario con los mismos datos que en el master.. user, contraseña y le di tambien todos los priveligios etc por las dudas.

Y la replicacion parece no funcionar, este es el SHOW SLAVE STATUS:


SHOW SLAVE STATUS\G
*************************** 1. row ***************************
Slave_IO_State: Connecting to master
Master_Host: <***.***.***.***>
Master_User: <rpl>
Master_Port: 3306
Connect_Retry: 60
Master_Log_File: <mysql-bin.000004>
Read_Master_Log_Pos: 98
Relay_Log_File: vps-relay-bin.000004
Relay_Log_Pos: 98
Relay_Master_Log_File: <mysql-bin.000004>
Slave_IO_Running: No
Slave_SQL_Running: Yes
Replicate_Do_DB:
Replicate_Ignore_DB:
Replicate_Do_Table:
Replicate_Ignore_Table:
Replicate_Wild_Do_Table:
Replicate_Wild_Ignore_Table:
Last_Errno: 0
Last_Error:
Skip_Counter: 0
Exec_Master_Log_Pos: 98
Relay_Log_Space: 98
Until_Condition: None
Until_Log_File:
Until_Log_Pos: 0
Master_SSL_Allowed: No
Master_SSL_CA_File:
Master_SSL_CA_Path:
Master_SSL_Cert:
Master_SSL_Cipher:
Master_SSL_Key:
Seconds_Behind_Master: NULL
1 row in set (0.01 sec)


Como veran la opcion: Slave_IO_Running: No esta en no, y deberia estar en YES.

Alguna idea de como arreglarlo???

Gracias
__________________
Claudio A. Marrero - Proyect Manager

Etiquetas: master, replicacion, slave, slave_io_running
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 02:16.