From 7a4e7ffa185d3a36638a1031108628215c40a45e Mon Sep 17 00:00:00 2001 From: Long Radix <74498097+longradix@users.noreply.github.com> Date: Thu, 11 May 2023 17:21:01 +0200 Subject: [PATCH 1/2] Update mysqltuner.pl --- mysqltuner.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mysqltuner.pl b/mysqltuner.pl index 85be3d2..4f10ebe 100644 --- a/mysqltuner.pl +++ b/mysqltuner.pl @@ -950,7 +950,7 @@ sub mysql_setup { unless ( -e "${userpath}/.my.cnf" or -e "${userpath}/.mylogin.cnf" ) { badprint -"Successfully authenticated with no password - SECURITY RISK!"; +"SECURITY RISK: Successfully authenticated without password"; } return 1; } @@ -1002,7 +1002,7 @@ sub mysql_setup { unless ( -e "$userpath/.my.cnf" ) { print STDERR ""; badprint -"Successfully authenticated with no password - SECURITY RISK!"; +"SECURITY RISK: Successfully authenticated without password"; } } return 1; @@ -1782,7 +1782,7 @@ sub get_kernel_info { if ( `sysctl -n vm.swappiness` > 10 ) { badprint "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, 'vm.swappiness <= 10 (echo 10 > /proc/sys/vm/swappiness)'; } From ebbddb757688f6f7fd6650ebd9cb1e7f60b7ee3a Mon Sep 17 00:00:00 2001 From: Long Radix <74498097+longradix@users.noreply.github.com> Date: Wed, 7 Jun 2023 08:31:33 +0200 Subject: [PATCH 2/2] Update README.md * Typos * Stylistic improvements --- README.md | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 8b274e4..af53ae0 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ You can find more details on these indicators here: 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). * 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 -__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 @@ -385,7 +385,7 @@ To get information about stored credentials, use the following command: **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 * 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 -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 ! --