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.94k stars 1.29k forks source link

Option --port doesn't seem to work #705

Closed H0w4rd closed 1 year ago

H0w4rd commented 1 year ago

I have two MariaDB instances on the ports 3306 and 3307.

When I run myqltuner.pl --port 3307, it still connects to the instance on the port 3306.

I can even enter any random port number, it still connects to 3306.

jmrenouard commented 1 year ago

Hi @H0w4rd

I think that you should try to setup --host option with --port option

This method works fine for me :)

jmrenouard commented 1 year ago

hi @H0w4rd @leonyu send us a PR #731 do you think this can solve our issue ?

jmrenouard commented 1 year ago

I think using host option will solve this issue