Merge pull request #663 from longradix/master

Updates
This commit is contained in:
Jean-Marie Renouard 2023-06-07 12:35:06 +02:00 committed by GitHub
commit 840c5785a0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 14 deletions

View file

@ -23,7 +23,7 @@ You can find more details on these indicators here:
MySQLTuner needs you MySQLTuner needs you
=== ===
**MySQLTuner** needs contributors for documentation, code and feedback.. **MySQLTuner** needs contributors for documentation, code and feedback:
* Please join us on issue track at [GitHub tracker](https://github.com/major/MySQLTuner-perl/issues). * Please join us on issue track at [GitHub tracker](https://github.com/major/MySQLTuner-perl/issues).
* Contribution guide is available following [MySQLTuner contributing guide](https://github.com/major/MySQLTuner-perl/blob/master/CONTRIBUTING.md) * Contribution guide is available following [MySQLTuner contributing guide](https://github.com/major/MySQLTuner-perl/blob/master/CONTRIBUTING.md)
@ -226,7 +226,7 @@ __Usage:__ Using template model to customize your reporting file based on [Text:
perl mysqltuner.pl --silent --reportfile /tmp/result_mysqltuner.txt --template=/tmp/mymodel.tmpl perl mysqltuner.pl --silent --reportfile /tmp/result_mysqltuner.txt --template=/tmp/mymodel.tmpl
__Important__: [Text::Template](https://metacpan.org/pod/Text::Template) module is mandatory for --reportfile and/or --template options because this module is needed to generate appropriated output based on a text template. __Important__: [Text::Template](https://metacpan.org/pod/Text::Template) module is mandatory for `--reportfile` and/or `--template` options, because this module is needed to generate appropriate output based on a text template.
__Usage:__ Enable debugging information __Usage:__ Enable debugging information
@ -385,7 +385,7 @@ To get information about stored credentials, use the following command:
**Question: It's not working on my OS! What gives?!** **Question: It's not working on my OS! What gives?!**
These kinds of things are bound to happen. Here are the details I need from you in order to research the problem thoroughly: These kinds of things are bound to happen. Here are the details I need from you to investigate the issue:
* OS and OS version * OS and OS version
* Architecture (x86, x86_64, IA64, Commodore 64) * Architecture (x86, x86_64, IA64, Commodore 64)
@ -493,14 +493,6 @@ MySQLTuner and Vagrant
d985820667c2 mysql:8.0 "docker-entrypoint.s…" 7 hours ago Up 7 hours 0.0.0.0:3306->3306/tcp, 33060/tcp mysql 8 0 d985820667c2 mysql:8.0 "docker-entrypoint.s…" 7 hours ago Up 7 hours 0.0.0.0:3306->3306/tcp, 33060/tcp mysql 8 0
MySQLTuner needs you
--
**MySQLTuner** needs contributors for documentation, code and feedback..
* Please join us on issue track at [GitHub tracker](https://github.com/major/MySQLTuner-perl/issues).
* Contribution guide is available following [MySQLTuner contributing guide](https://github.com/major/MySQLTuner-perl/blob/master/CONTRIBUTING.md)
* Star **MySQLTuner project** at [MySQLTuner Git Hub Project](https://github.com/major/MySQLTuner-perl)
Contributions welcome ! Contributions welcome !
-- --

View file

@ -950,7 +950,7 @@ sub mysql_setup {
unless ( -e "${userpath}/.my.cnf" or -e "${userpath}/.mylogin.cnf" ) unless ( -e "${userpath}/.my.cnf" or -e "${userpath}/.mylogin.cnf" )
{ {
badprint badprint
"Successfully authenticated with no password - SECURITY RISK!"; "SECURITY RISK: Successfully authenticated without password";
} }
return 1; return 1;
} }
@ -1002,7 +1002,7 @@ sub mysql_setup {
unless ( -e "$userpath/.my.cnf" ) { unless ( -e "$userpath/.my.cnf" ) {
print STDERR ""; print STDERR "";
badprint badprint
"Successfully authenticated with no password - SECURITY RISK!"; "SECURITY RISK: Successfully authenticated without password";
} }
} }
return 1; return 1;
@ -1782,7 +1782,7 @@ sub get_kernel_info {
if ( `sysctl -n vm.swappiness` > 10 ) { if ( `sysctl -n vm.swappiness` > 10 ) {
badprint badprint
"Swappiness is > 10, please consider having a value lower than 10"; "Swappiness is > 10, please consider having a value lower than 10";
push @generalrec, "setup swappiness lower or equals to 10"; push @generalrec, "setup swappiness lower or equal to 10";
push @adjvars, push @adjvars,
'vm.swappiness <= 10 (echo 10 > /proc/sys/vm/swappiness)'; 'vm.swappiness <= 10 (echo 10 > /proc/sys/vm/swappiness)';
} }