mirror of
https://github.com/major/MySQLTuner-perl.git
synced 2024-09-21 07:47:08 +00:00
Merge pull request #795 from jmrenouard/master
Generate 2.6.0 minor version at 2024-08-06T10:43:15+02:00
This commit is contained in:
commit
13ec5072fb
2
USAGE.md
2
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
|
||||
|
||||
|
@ -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 @@ use Cwd 'abs_path';
|
||||
#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 @@ __END__
|
||||
|
||||
=head1 NAME
|
||||
|
||||
MySQLTuner 2.5.4 - MySQL High Performance Tuning Script
|
||||
MySQLTuner 2.6.0 - MySQL High Performance Tuning Script
|
||||
|
||||
=head1 IMPORTANT USAGE GUIDELINES
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user