Merge pull request #221 from 0xbsec/update_without_credentials

Update without credentials issue #211
Thanks @0xbsec
This commit is contained in:
Jean-Marie Renouard 2016-06-13 11:03:35 +02:00 committed by GitHub
commit 5f92d5866c

View file

@ -593,7 +593,7 @@ sub compare_tuner_version {
return; return;
} }
goodprint "You have the latest version of MySQLTuner($tunerversion)"; goodprint "You have the latest version of MySQLTuner($tunerversion)";
return; exit 0;
} }
# Checks to see if a MySQL login is possible # Checks to see if a MySQL login is possible
@ -4034,8 +4034,8 @@ sub which {
# BEGIN 'MAIN' # BEGIN 'MAIN'
# --------------------------------------------------------------------------- # ---------------------------------------------------------------------------
headerprint; # Header Print headerprint; # Header Print
mysql_setup; # Gotta login first
validate_tuner_version; # Check last version validate_tuner_version; # Check last version
mysql_setup; # Gotta login first
os_setup; # Set up some OS variables os_setup; # Set up some OS variables
get_all_vars; # Toss variables/status into hashes get_all_vars; # Toss variables/status into hashes
get_tuning_info; # Get information about the tuning connexion get_tuning_info; # Get information about the tuning connexion
@ -4049,7 +4049,7 @@ security_recommendations; # Display some security recommendations
cve_recommendations; # Display related CVE cve_recommendations; # Display related CVE
calculations; # Calculate everything we need calculations; # Calculate everything we need
mysql_stats; # Print the server stats mysql_stats; # Print the server stats
mysqsl_pfs # Print Performance schema info mysqsl_pfs; # Print Performance schema info
mariadb_threadpool; # Print MaraiDB ThreadPool stats mariadb_threadpool; # Print MaraiDB ThreadPool stats
mysql_myisam; # Print MyISAM stats mysql_myisam; # Print MyISAM stats
mariadb_ariadb; # Print MaraiDB AriaDB stats mariadb_ariadb; # Print MaraiDB AriaDB stats