Skip to content

Commit

Permalink
skip-name-resolve suggested to OFF rather than ON #693
Browse files Browse the repository at this point in the history
  • Loading branch information
jmrenouard committed Jul 6, 2023
1 parent f585e6a commit badfadb
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions mysqltuner.pl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env perl
# mysqltuner.pl - Version 2.2.2
# mysqltuner.pl - Version 2.2.3
# High Performance MySQL Tuning Script
# Copyright (C) 2006-2023 Major Hayden - [email protected]
# Copyright (C) 2015-2023 Jean-Marie Renouard - [email protected]
Expand Down Expand Up @@ -57,7 +57,7 @@ package main;
#use Env;

# Set up a few variables for use in the script
my $tunerversion = "2.2.2";
my $tunerversion = "2.2.3";
my ( @adjvars, @generalrec );

# Set defaults
Expand Down Expand Up @@ -3400,9 +3400,9 @@ sub mysql_stats {
badprint
"Name resolution is active: a reverse name resolution is made for each new connection which can reduce performance";
push( @generalrec,
"Configure your accounts with ip or subnets only, then update your configuration with skip-name-resolve=OFF"
"Configure your accounts with ip or subnets only, then update your configuration with skip-name-resolve=ON"
);
push( @adjvars, "skip-name-resolve=OFF" );
push( @adjvars, "skip-name-resolve=ON" );
}

# Query cache
Expand Down Expand Up @@ -7264,7 +7264,7 @@ sub which {
=head1 NAME
MySQLTuner 2.2.2 - MySQL High Performance Tuning Script
MySQLTuner 2.2.3 - MySQL High Performance Tuning Script
=head1 IMPORTANT USAGE GUIDELINES
Expand Down

0 comments on commit badfadb

Please sign in to comment.