Skip to content

Commit 5c15c71

Browse files
authored
Enhance MySQL version checks and output format
Updated MySQL version checks and modified output message.
1 parent d76bf0c commit 5c15c71

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

mysqltuner.pl

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2656,13 +2656,15 @@ sub validate_mysql_version {
26562656

26572657
if ( mysql_version_eq( 8, 0 )
26582658
or mysql_version_eq( 8, 4 )
2659-
or mysql_version_eq( 10, 5 )
2659+
or mysql_version_eq( 9, 5 )
26602660
or mysql_version_eq( 10, 6 )
2661-
or mysql_version_eq( 10, 11 )
2662-
or mysql_version_eq( 11, 4 ) )
2661+
or mysql_version_eq( 10, 6 )
2662+
or mysql_version_eq( 10, 11)
2663+
or mysql_version_eq( 11, 4 )
2664+
or mysql_version_eq( 11, 8 ) )
26632665
{
2664-
goodprint "Currently running supported MySQL version "
2665-
. $myvar{'version'} . "";
2666+
goodprint "Currently running supported MySQL/MariaDB version "
2667+
. $myvar{'version'} . "(LTS)";
26662668
return;
26672669
}
26682670
else {

0 commit comments

Comments
 (0)