31.07.2013 Views

MySQL Cluster Tutorial - cdn.oreillystatic.com

MySQL Cluster Tutorial - cdn.oreillystatic.com

MySQL Cluster Tutorial - cdn.oreillystatic.com

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Installation and Configuration<br />

In this section we discuss how to install <strong>MySQL</strong> <strong>Cluster</strong> and configure it.<br />

Release Model and Versioning<br />

<strong>MySQL</strong> <strong>Cluster</strong> is developed and maintained at a different pace than the normal <strong>MySQL</strong><br />

server. Having both separate allows to release more often and independently.<br />

With the new release model came a new versioning scheme. Here is an overview of <strong>MySQL</strong><br />

<strong>Cluster</strong> versions with their full version:<br />

Download<br />

<strong>MySQL</strong> <strong>Cluster</strong> .. full version<br />

6.3.33 mysql-5.1.44 ndb-6.3.33<br />

7.0.14 mysql-5.1.44 ndb-7.0.14<br />

7.1.2a mysql-5.1.41 ndb-7.1.2beta<br />

Just like the regular <strong>MySQL</strong> releases, <strong>MySQL</strong> <strong>Cluster</strong> can be downloaded from the<br />

Developer Zone on mysql.<strong>com</strong>: http://dev.mysql.<strong>com</strong>/downloads/cluster/.<br />

Here is an example of the tar-distribution for 32-bit Linux platforms, the one used in this<br />

tutorial:<br />

Installation<br />

mysql-cluster-gpl-7.1.2a-beta-linux-i686-glibc23.tar.gz<br />

You can install <strong>MySQL</strong> <strong>Cluster</strong> the same way you install a regular <strong>MySQL</strong> server. You are<br />

free to place it where ever you like, but the more ‘default’ on UNIX-like systems, is in<br />

/usr/local.<br />

Here are instructions for installing <strong>MySQL</strong> <strong>Cluster</strong> on a Linux 32-bit platform.<br />

shell> cd /usr/local<br />

shell> tar xzf mysql-cluster-gpl-7.0.13-linux-i686-glibc23.tar.gz<br />

shell> ln -s mysql-cluster-gpl-7.0.13-linux-i686-glibc23 mysql<br />

If you want more details, see the section ‘Installing <strong>MySQL</strong> from Generic Binaries on<br />

Unix/Linux’ in the <strong>MySQL</strong> Manual:<br />

http://dev.mysql.<strong>com</strong>/doc/refman/5.1/en/installing-binary.html<br />

Copyright © 2010, Oracle and/or its affiliates. All rights reserved. 9/81

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!