Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default host should be 127.0.0.1 #312

Closed
fmonts opened this issue Mar 25, 2017 · 3 comments
Closed

Default host should be 127.0.0.1 #312

fmonts opened this issue Mar 25, 2017 · 3 comments

Comments

@fmonts
Copy link

fmonts commented Mar 25, 2017

This is not a big issue, anyway if I follow the given advice to set skip_name_resolve=1, the tool itself won't work anymore unless I write every time --host=127.0.0.1

@jmrenouard
Copy link
Collaborator

Tell me if it is better :)

@fmonts
Copy link
Author

fmonts commented Apr 24, 2017

Still not working: (same password used)

# perl mysqltuner.pl
 >>  MySQLTuner 1.7.1 - Major Hayden <major@mhtx.net>
 >>  Bug reports, feature requests, and downloads at http://mysqltuner.com/
 >>  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: [!!] Attempted to use login credentials, but they were invalid.

# perl mysqltuner.pl --host=127.0.0.1
 >>  MySQLTuner 1.7.1 - Major Hayden <major@mhtx.net>
 >>  Bug reports, feature requests, and downloads at http://mysqltuner.com/
 >>  Run with '--help' for additional options and output filtering

[--] Skipped version check for MySQLTuner script
[--] Performing tests on 127.0.0.1:3306
Please enter your MySQL administrative login: root
Please enter your MySQL administrative password: [OK] Currently running supported MySQL version 5.7.17-13

@jmrenouard
Copy link
Collaborator

All is documented in README.md.

We prefer managing credntials inside .my.cnf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants