Skip to content

mathieuk/mysql-ramdisk-helper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

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

About

Set of scripts to set up MySQL on a ramdisk

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages