mydumper / mydumper

Official MyDumper Project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SHOW REPLICA STATUS instead of SHOW SLAVE STATUS

pionar opened this issue · comments

after run mydumper in mysql 8.4 in logs I get:
[ERROR] - Error executing SHOW SLAVE STATUS: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'SLAVE STATUS' at line 1 .

Problem:
From MySQL 8.0.22, [SHOW SLAVE STATUS] is deprecated and in 8.4 has been removed.

How to fix:
should be SHOW REPLICA STATUS instead of SHOW SLAVE STATUS.