Main

MySQL Cluster All in One

Bromokun

A. Problems:

  1. I want to develop an application on top of NDB, but I only have one lousy laptop, with limited resources, and I can’t afford to run 3 VMs simultaneously , or my laptop will run slower than a snail.
  2. Its troublesome if I have to run 3 VMs, every time I want to code my application

Sound familiar?

B. Solution:

Create a single VM that runs a single complete MySQL cluster environment.

C. Steps:

1. Changed the config.ini‘s content, become like below:

2. Changed the my.cnf‘s content, become like below:

3. Starts everything as normal

4. If everything ok, your ndb_mgm console will shows something like below:

That’s it guys, problem solved!

Warning:

This is not a standalone tutorial, in order to understand this, you have to read my tutorial: Installing MySQL Cluster in Ubuntu Server v.12.04 series first (5 posts).

View original post

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s