MySQL Forums
Forum List  »  General

Re: when secondary node restarted in MGR Single-Primary, some errors happens
Posted by: Bing Ma
Date: April 29, 2024 02:58AM

I see this document
https://dev.mysql.com/doc/refman/8.0/en/replication-howto-additionalslaves.html,

but I have setted the two variables

mysql> select @@relay_log;
+------------------------+
| @@relay_log |
+------------------------+
| test-mgr-2-relay-bin |
+------------------------+
1 row in set (0.00 sec)

mysql> select @@relay_log_index;
+---------------------------------------------+
| @@relay_log_index |
+---------------------------------------------+
| /var/lib/mysql/test-mgr-2-relay-bin.index |
+---------------------------------------------+
1 row in set (0.00 sec)

mysql> \q
Bye
bash-4.4$ ls /var/lib/mysql/test-mgr-2-relay-bin.index
/var/lib/mysql/test-mgr-2-relay-bin.index
bash-4.4$

Options: ReplyQuote


Subject
Written By
Posted
Re: when secondary node restarted in MGR Single-Primary, some errors happens
April 29, 2024 02:58AM


Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.