
# Iniciar replicación
estibador ejecutivo –ti esclavo b ‘mysql’ –uroot –pmysecretpass –mi«INICIAR ESCLAVO»; –vvv
mysql: [Warning] Usar a contraseña sobre Lu mando línea interfaz Puerto ser – estar inseguro.
————–
COMIENZO ESCLAVO
————–
Pregunta OK, 0 póngase en fila afectado, 1 advertencia (0.00 segundo)
Adiós
# Verificar que la replicación esté funcionando correctamente
estibador ejecutivo –ti esclavo b ‘mysql’ –uroot –pmysecretpass –mi«MOSTRAR ESTADO ESCLAVO» –vvv
mysql: [Warning] Usar a contraseña sobre Lu mando línea interfaz Puerto ser – estar inseguro.
————–
SHOW ESCLAVO ESTADO
————–
*************************** 1. póngase en fila ***************************
Slave_IO_State: Esperar en orden Maestro a enviar evento
anfitrión_maestro: mysql
Usuario_maestro: reemplazar
puerto_maestro: 3306
Conectar_Reintentar: 60
Archivo_de_registro_maestro: mysqld–compartimiento.000004
Read_Master_Log_Pos: 310
Retransmitir_archivo_de_registro: mysqld–relé–compartimiento.000002
Relay_Log_Pos: 284
Relé_maestro_archivo_de_registro: mysqld–compartimiento.000004
<fuerte>Slave_IO_Running: sí
Esclavo_SQL_en ejecución: sí</fuerte>
Replicar_Do_DB:
Replicar_Ignorar_DB:
Replicar_hacer_tabla:
Replicar_Ignorar_Tabla:
Replicar_Wild_Do_Table:
Replicate_Wild_Ignore_Table:
Last_Errno: 0
Último_error:
Skip_Counter: 0
Exec_Master_Log_Pos: 310
Relay_Log_Space: 458
Hasta_Condiciones: Nadie
Hasta_archivo_de_registro:
Hasta_Log_Pos: 0
Maestro_SSL_Permitido: No
Maestro_SSL_CA_Archivo:
Master_SSL_CA_Path:
Master_SSL_Cert:
Maestro_SSL_Cifrado:
Master_SSL_Key:
<fuerte>Seconds_Behind_Master: 0</fuerte>
Master_SSL_Verify_Server_Cert: No
Last_IO_Errno: 0
Último_IO_Error:
Last_SQL_Errno: 0
Último_SQL_Error:
Replicate_Ignore_Server_Ids:
ID_servidor_maestro: 1
Maestro_UUID: 230d005a–f1a6–11e5–b546–0242ac110004
Archivo_info_maestro: /variable/liberación/mysql/Maestro.info
SQL_Delay: 0
SQL_Remaining_Delay: NULO
Slave_SQL_Running_State: esclavo posee leer todos relé Iniciar sesión; espera en orden Lu esclavo I/O hilo a actualizar Lu
Master_Retry_Count: 86400
Master_Bind:
Last_IO_Error_Timestamp:
Last_SQL_Error_Timestamp:
Maestro_SSL_Crl:
Master_SSL_Crlpath:
Conjunto_Gtid_recuperado:
Ejecutar_Gtid_Set:
Posición_automática: 0
1 póngase en fila en colocar (0.00 segundo)
Adiós