where do I install mysqltuner.pl

Problems with the Windows version of XAMPP, questions, comments, and anything related.

where do I install mysqltuner.pl

Postby IamJim » 28. December 2013 21:14

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
IamJim
 
Posts: 56
Joined: 27. April 2009 03:01

Re: where do I install mysqltuner.pl

Postby Nobbie » 28. December 2013 22:21

Anywhere.
Nobbie
 
Posts: 8772
Joined: 09. March 2008 13:04

Re: where do I install mysqltuner.pl

Postby IamJim » 28. December 2013 23:24

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..
IamJim
 
Posts: 56
Joined: 27. April 2009 03:01

Re: where do I install mysqltuner.pl

Postby Nobbie » 29. December 2013 10:05

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?
Nobbie
 
Posts: 8772
Joined: 09. March 2008 13:04


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 88 guests