Details
-
New Feature
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
Description
MySQL has removed the use of MASTER and SLAVE in 8.4. mariadb-dump therefore reports a syntax error for "SHOW SLAVE STATUS" and "SHOW MASTER STATUS" when used against MySQL 8.4 for a migration.
https://dev.mysql.com/doc/refman/8.4/en/show-master-status.html
SHOW MASTER STATUS - deprecated
replaced by SHOW BINARY LOG STATUS.
SHOW SLAVE STATUS - replaced by
SHOW REPLICA STATUS.
The task is to change mysql-dump to work with MySQL 8.4 and also ensure that MariaDB supports the MySQL syntax.
Changes in mysql-dump:
- If SHOW SLAVE STATUS fails with syntax error, retry with SHOW REPLICA STATUS
- If SHOW MASTER STATUS fails, retry with SHOW BINARY LOG STATUS
Changes in MariaDB server:
- Add SHOW BINARY LOG STATUS as an alias to SHOW MASTER STATUS
Attachments
Issue Links
- causes
-
MDEV-39880 Merge MDEV-37146 into MDEV-39519
-
- Stalled
-
- relates to
-
MDEV-37146 mariadb-dump: Replace SHOW SLAVE STATUS usage with information_schema.SLAVE_STATUS
-
- Closed
-
-
MDEV-18777 Rename or alias slave-related statements, options, status variables
-
- Stalled
-
-
MIGTK-11 Loading...