Update: As explained in “MySQL Cluster 7.0.7 binaries released” you can now download the compiled binaries for your particular platform. I am going to leave this entry in place as it will hopefully be useful for future releases but for 7.0.7 you should refer to that other post.
You’ll need to wait for the pre-built binaries but you can now download the source code and build it for yourself to get started. This article explains where to get it and how to build, install and test the installation.
In this example, I’ve used Ubuntu.
The first step is to download the compressed tar ball containing the source code by pointing your browser to ftp://ftp.mysql.com/pub/mysql/download/cluster_telco/mysql-5.1.35-ndb-7.0.7/mysql-cluster-gpl-7.0.7.tar.gz
Then you need to extract the code and then build and install the software:
1
2
3
4
5
6
7
8
9
10
11
12
13
|
billy@billy-laptop:~/mysql$ tar -xzf mysql-cluster-gpl-7.0.7.tar.gz billy@billy-laptop:~/mysql$ mv mysql-cluster-gpl-7.0.7 7_0_7 billy@billy-laptop:~/mysql$ cd 7_0_7 billy@billy-laptop:~/mysql/7_0_7$ autoreconf --force --install billy@billy-laptop:~/mysql/7_0_7$ ./configure --with-plugins=max --prefix=/usr/local/mysql billy@billy-laptop:~/mysql/7_0_7$ make billy@billy-laptop:~/mysql/7_0_7$ sudo make install billy@billy-laptop:~/mysql/7_0_7$ sudo cp storage/ndb/src/kernel/ndbd /usr/local/mysql/bin billy@billy-laptop:~/mysql/7_0_7$ sudo cp storage/ndb/src/kernel/ndbmtd /usr/local/mysql/bin billy@billy-laptop:~/mysql/7_0_7$ sudo cp storage/ndb/src/mgmsrv/ndb_mgmd /usr/local/mysql/bin billy@billy-laptop:~/mysql/7_0_7$ cd /usr/local/mysql/mysql-test billy@billy-laptop:/usr/local/mysql/mysql-test$ sudo chmod 777 . billy@billy-laptop:/usr/local/mysql/mysql-test$ sudo chmod 777 * |
You can then test that the installation has been successful:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
billy@billy-laptop:/usr/local/mysql/mysql-test$ ./mtr ndb_basic Logging: ./mtr ndb_basic 090902 18:17:43 [Warning] Forcing shutdown of 2 plugins MySQL Version 5.1.35 Checking supported features... - using ndbcluster when necessary, mysqld supports it - skipping SSL, mysqld not compiled with SSL - multi threaded ndbd, will be used "round robin" Collecting tests... vardir: /usr/local/mysql/mysql-test/var Removing old var directory... Creating var directory '/usr/local/mysql/mysql-test/var'... Installing system database... Using server port 43993 ============================================================================== TEST RESULT TIME (ms) ------------------------------------------------------------ worker[1] Using MTR_BUILD_THREAD 250, with reserved ports 12500..12509 ndb.ndb_basic [ pass ] 73661 ------------------------------------------------------------ The servers were restarted 0 times Spent 73.661 of 143 seconds executing testcases All 1 tests were successful. |
Following this you can configure and use the software as normal (refer to Creating a simple Cluster on a single LINUX host).
The annotated header information has already been updated in the NDB API Docs section.
A description of all of the changes (fixes) that have gone into MySQL Cluster 7.0.7 (compared to 7.0.6) can be found in the MySQL Cluster 7.0.7 Change Log.