Desativar escrita no slave MYSQL.

1 – Mudar parâmetros no slave MySQL standby.

Desativar escrita dos usuários comuns.

mysql> SET GLOBAL read_only = ON;
SQL

Desativar escrita do root.

mysql> SET GLOBAL super_read_only = ON;
SQL

Verificar os parâmetros após a mudança.

mysql> SHOW VARIABLES WHERE Variable_Name LIKE "%read_only";
SQL

Leave a Reply

Your email address will not be published. Required fields are marked *

search previous next tag category expand menu location phone mail time cart zoom edit close