Page 1 of 1

where do I install mysqltuner.pl

PostPosted: 28. December 2013 21:14
by IamJim
1) Did a whole forum search for: where do I install mysqltuner.pl

2) 3 results = none in English (smile)

3) Instead of making mistakes...easier to ask =

where do I install mysqltuner.pl

Thanks !!

Jim

Re: where do I install mysqltuner.pl

PostPosted: 28. December 2013 22:21
by Nobbie
Anywhere.

Re: where do I install mysqltuner.pl

PostPosted: 28. December 2013 23:24
by IamJim
Nobbie wrote:Anywhere.


?? So, My XAMPP install is located

e:\xampp

I can put mysqltuner.pl in C: drive? <laugh>

How will it be found? :mrgreen:

My guess? Would be in a folder or sub folder of XAMPP actually.

I just don't want to crash this install of XAMPP.

Jim

ADDED.. No help here: https://groups.google.com/forum/#!forum/mysqltuner-talk

Looks like a dead project..

Re: where do I install mysqltuner.pl

PostPosted: 29. December 2013 10:05
by Nobbie
IamJim wrote:
Nobbie wrote:Anywhere.


?? So, My XAMPP install is located

e:\xampp

I can put mysqltuner.pl in C: drive? <laugh>

How will it be found? :mrgreen:

My guess? Would be in a folder or sub folder of XAMPP actually.

I just don't want to crash this install of XAMPP.


You have no idea what mysqltuner.pl does - it is NOT(!!) an online tool which is executed via Browser, it is simply called in a Command Shell! See Linux instructions for example:

http://www.howtoforge.com/tuning-mysql- ... mysqltuner

Therefore you can run it whereever you want. I think that you might edit the script in order to apply some userids and passwords or so, as well you cannot start it on Windows CommandShell with the help of the Shebang line (that is the first line in the script, which qualifies the Perl Interpreter), but you have to pass it to the Perl Interpreter via Command Line.

If you want to run it via Xampp / Browser, simply copy it in to your htdocs and enter corresponding URL in your browser (i.e. http://localhost/mysqltuner.pl), but you must edit the script anyway and change the Sheband Line to your Perl Path. I am not sure if this script will run in an Apache environment (as it does not output HTTP / HTML).

Why dont you find these things, i never heard about mysqltuner.pl and it took me 1 minute to find out how it is supposed to be used?