From 07fd5df5d1fb025ebad151ea5c2d9df66931c7a0 Mon Sep 17 00:00:00 2001 From: Jean-Marie Renouard Date: Tue, 6 Aug 2024 10:43:15 +0200 Subject: [PATCH] Generate 2.6.0 minor version at 2024-08-06T10:43:15+02:00 --- USAGE.md | 2 +- mysqltuner.pl | 15 +++++++-------- 2 files changed, 8 insertions(+), 9 deletions(-) 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