mirror of
https://github.com/alibaba/canal.git
synced 2026-11-04 00:30:15 +08:00
@@ -726,7 +726,7 @@ public class MysqlEventParser extends AbstractMysqlEventParser implements CanalE
|
||||
@SuppressWarnings("unused")
|
||||
private SlaveEntryPosition findSlavePosition(MysqlConnection mysqlConnection) {
|
||||
try {
|
||||
String showSql = "show slave stauts";
|
||||
String showSql = "show slave status";
|
||||
if (mysqlConnection.atLeastMySQL84()) {
|
||||
// 兼容mysql 8.4
|
||||
showSql = "show replica status";
|
||||
|
||||
Reference in New Issue
Block a user