diff --git a/USAGE.md b/USAGE.md index 21f030e7..72e9bc8e 100644 --- a/USAGE.md +++ b/USAGE.md @@ -1,6 +1,6 @@ # NAME - MySQLTuner 2.5.4 - MySQL High Performance Tuning Script + MySQLTuner 2.6.0 - MySQL High Performance Tuning Script # IMPORTANT USAGE GUIDELINES diff --git a/mysqltuner.pl b/mysqltuner.pl index f28a61e6..cd860460 100755 --- a/mysqltuner.pl +++ b/mysqltuner.pl @@ -1,5 +1,5 @@ #!/usr/bin/env perl -# mysqltuner.pl - Version 2.5.4 +# mysqltuner.pl - Version 2.6.0 # High Performance MySQL Tuning Script # Copyright (C) 2015-2023 Jean-Marie Renouard - jmrenouard@gmail.com # Copyright (C) 2006-2023 Major Hayden - major@mhtx.net @@ -57,7 +57,7 @@ package main; #use Env; # Set up a few variables for use in the script -my $tunerversion = "2.5.4"; +my $tunerversion = "2.6.0"; my ( @adjvars, @generalrec ); # Set defaults @@ -2438,13 +2438,12 @@ sub validate_mysql_version { prettyprint " "; - if ( mysql_version_eq(8) - or mysql_version_eq( 5, 7 ) + if ( mysql_version_eq(9) + or mysql_version_eq(8, 4) + or mysql_version_eq(8, 0) or mysql_version_eq( 10, 5 ) or mysql_version_eq( 10, 6 ) or mysql_version_eq( 10, 11 ) - or mysql_version_eq( 11, 1 ) - or mysql_version_eq( 11, 2 ) or mysql_version_eq( 11, 4 ) ) { goodprint "Currently running supported MySQL version " @@ -2548,7 +2547,7 @@ sub check_architecture { } elsif ( `uname` =~ /Darwin/ && `uname -m` =~ /x86_64/ ) { -# Darwin gibas.local 12.5.4 Darwin Kernel Version 12.3.0: Sun Jan 6 22:37:10 PST 2013; root:xnu-2050.22.13~1/RELEASE_X86_64 x86_64 +# Darwin gibas.local 12.6.0 Darwin Kernel Version 12.3.0: Sun Jan 6 22:37:10 PST 2013; root:xnu-2050.22.13~1/RELEASE_X86_64 x86_64 $arch = 64; goodprint "Operating on 64-bit architecture"; } @@ -7439,7 +7438,7 @@ sub which { =head1 NAME - MySQLTuner 2.5.4 - MySQL High Performance Tuning Script + MySQLTuner 2.6.0 - MySQL High Performance Tuning Script =head1 IMPORTANT USAGE GUIDELINES