diff --git a/mysqltuner.pl b/mysqltuner.pl index 1c59e2d..6788cbd 100755 --- a/mysqltuner.pl +++ b/mysqltuner.pl @@ -3922,11 +3922,10 @@ sub mysqsl_pfs { unless ( grep /^sys$/, select_array("SHOW DATABASES") ) { infoprint "Sys schema is not installed."; push( @generalrec, + mysql_version_ge( 10, 0 ) ? +"Consider installing Sys schema from https://github.com/FromDual/mariadb-sys for MariaDB" : "Consider installing Sys schema from https://github.com/mysql/mysql-sys for MySQL" ) unless ( mysql_version_le( 5, 6 ) ); - push( @generalrec, -"Consider installing Sys schema from https://github.com/FromDual/mariadb-sys for MariaDB" - ) unless ( mysql_version_ge( 10, 0 ) ); return; }