Today I ran the SQL tuner script for the first time after running your wonderful MySQL installer script. The tuner script threw up the error:
[!!] Couldn't find mysqladmin in your $PATH. Is MySQL installed?
I knew MySQL had been installed correctly because I had already been using it for a couple of hours.
My bash_profile had already been altered when I added a custom default login path. It seems the MySQL installer script appends the export PATH= .... to the end of any line currently in the bash_profile. I simply added a line break between my input and the PATH= and then SQL tuner ran without errors.
I probably didn't notice it initially as I was interacting with MySQL with SQL Pro and not the CLI
I wasn't able to reproduce this exactly, but I added a line break in front of the addition of the PATH variable setting in ~/.bash_profile just to prevent something like this from occurring. Thanks!
Today I ran the SQL tuner script for the first time after running your wonderful MySQL installer script. The tuner script threw up the error:
I knew MySQL had been installed correctly because I had already been using it for a couple of hours.
My bash_profile had already been altered when I added a custom default login path. It seems the MySQL installer script appends the export PATH= .... to the end of any line currently in the bash_profile. I simply added a line break between my input and the PATH= and then SQL tuner ran without errors.
I probably didn't notice it initially as I was interacting with MySQL with SQL Pro and not the CLI
Thanks!