Portable Maatkit

If you have been using MySQL you must have used Maatkit.

I like to keep all my tools in portable format (http://www.portablefreeware.com/,http://portableapps.com/), this way it helps me switch to different beta operating systems with minimal setup time. However for Maatkit i wanted a similar setup as well, all Maatkit requires is Perl, so i was searching around and found Strawberry Perl. Strawberry Perl provides a portable version of Open Source Perl.

  1. Download the portable version, unzip it to your portable folders location
  2. Execute the portableshell.bat batch file in the root directory
  3. start ppm in the shell
  4. install the mysql driver by running this command in the PPM shell install DBD-mysql, however with the version of Strawberry Perl i downloaded didnot have the package built for it so i had to install the mysql driver using this command from outside the ppm shell ppm install http://cpan.uwinnipeg.ca/PPMPackages/10xx/DBD-mysql.ppd
  5. Now that Perl is setup, download and extract Maatkit to your portable folders location
  6. from the perl shell that you had opened go the maatkit folder and run the command perl Makefile.PL; it should output
    Checking if your kit is complete...
    Looks good
    Writing Makefile for maatkit
    
  7. Now your portable Maatkit is setup as well, have fun :-)

Who's online

There are currently 0 users and 0 guests online.

Who's new

  • Saravana Peruma...