Skip to content

Commit 3afcc34

Browse files
committed
Fixing version issues
1 parent f46cef5 commit 3afcc34

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

mysqltuner.pl

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2140,7 +2140,8 @@ sub system_recommendations {
21402140
sub security_recommendations {
21412141
subheaderprint "Security Recommendations";
21422142

2143-
if ( mysql_version_le(8.0.0) ) {
2143+
infoprint "$myvar{'version_comment'} - $myvar{'version'}";
2144+
if ( mysql_version_le(8.0) ) {
21442145
infoprint "Skipped due to unsupported feature for MySQL 8.0+";
21452146
return;
21462147
}
@@ -2448,13 +2449,14 @@ sub validate_mysql_version {
24482449

24492450
prettyprint " ";
24502451

2451-
if ( mysql_version_eq(9)
2452+
if ( mysql_version_eq(9,1)
24522453
or mysql_version_eq(8, 4)
24532454
or mysql_version_eq(8, 0)
24542455
or mysql_version_eq( 10, 5 )
24552456
or mysql_version_eq( 10, 6 )
24562457
or mysql_version_eq( 10, 11 )
2457-
or mysql_version_eq( 11, 4 ) )
2458+
or mysql_version_eq( 11, 4 )
2459+
or mysql_version_eq( 11, 6 ) )
24582460
{
24592461
goodprint "Currently running supported MySQL version "
24602462
. $myvar{'version'} . "";

0 commit comments

Comments
 (0)