diff --git a/mysqltuner.pl b/mysqltuner.pl index 848db7914..8a609bbb7 100644 --- a/mysqltuner.pl +++ b/mysqltuner.pl @@ -1438,7 +1438,7 @@ sub get_all_vars { my @mysqlslaves; if ( mysql_version_eq(8) or mysql_version_ge( 10, 5 ) ) { - @mysqlslaves = select_array "SHOW SLAVE STATUS"; + @mysqlslaves = select_array "SHOW REPLICAS\\G"; } else { @mysqlslaves = select_array("SHOW SLAVE HOSTS\\G");