Set of scripts to set up MySQL on a ramdisk
Switch branches/tags
Nothing to show
Clone or download
mathieuk Merge pull request #1 from dokterbob/master
Several mixups, making the script easier to use
Latest commit 20d9bf8 Feb 19, 2014


Creates a RAM disk and creates a basic MySQL configuration on it. When interrupted, the script
will shutdown MySQL and remove the RAM disk.

* Use of this script is ofcourse at your own risk *

This script has been found to work on Mac OSX 10.6 and 10.9 and should work on all versions in between.

Usefull for people not wanting to create excessive wear on, for instance, their SSD drives when
running full-DB integration tests.

By default, a 256M RAM-disk is created. The MySQL installation is accessible through a UNIX socket with the user root and the password 'secret'.
Connect to your ramdisk-mysql install like this:

$ mysql -u root -p --socket=/tmp/myramdisk.sock