Quickstart Localhost Install of MySQL Cluster

Download the script

Option 1 (Browser-based): Right-Click here and click "Save Link as" and save the ndbinstaller.sh file in a local directory (for example, /tmp/).

Option 2 (Command-line):

wget http://www.jimdowling.info/ndbinstaller/trunk/ndbinstaller.sh
# or
svn co http://www.jimdowling.info/ndbinstaller/trunk/ ndbinstaller

Run the Installer

chmod +x ndbinstaller.sh 
./ndbinstaller.sh

# Scripts for managing the cluster will be installed in the directory:
~/.mysql/ndb/scripts
# MySQL binaries will be installed in the directory:
~/.mysql/mysql
# NDB Storage Engine and the MySQL Server data directory will be installed in the directory NDB_HOME:
~/.mysql/ndb
# All logs for the mgmt server, and data nodes will be written to the directory:
~/.mysql/logs