major / MySQLTuner-perl

MySQLTuner is a script written in Perl that will assist you with your MySQL configuration and make recommendations for increased performance and stability.
GNU General Public License v3.0
8.93k stars 1.29k forks source link

Legibility issue upon entering credentials #613

Closed longradix closed 1 year ago

longradix commented 2 years ago

Forgotten / overlooked issue (cf #610): Add a newline after password has been entered, else we get an info or a bad on the same line:

$ ./mysqltuner.pl 
 >>  MySQLTuner 2.0.4
     * Jean-Marie Renouard <jmrenouard@gmail.com>
     * Major Hayden <major@mhtx.net>
 >>  Bug reports, feature requests, and downloads at http://mysqltuner.pl/
 >>  Run with '--help' for additional options and output filtering

[--] Skipped version check for MySQLTuner script
Please enter your MySQL administrative login: root
Please enter your MySQL administrative password: [OK] Currently running supported MySQL version 8.0.30-0ubuntu0.20.04.2

or, in case of incorrect credentials: Please enter your MySQL administrative password: [!!] Attempted to use login credentials, but they were invalid.

Expecting:

Please enter your MySQL administrative password: 
[OK] Currently running supported MySQL version 8.0.30-0ubuntu0.20.04.2

Please enter your MySQL administrative password: 
[!!] Attempted to use login credentials, but they were invalid.
jmrenouard commented 1 year ago

Fixed