2 messages in com.mysql.lists.clusterRe: How to upgrade mysql server and n...
FromSent OnAttachments
Apostolos Pantsiopoulos18 Sep 2007 08:24 
Jon Stephens19 Sep 2007 08:40 
Subject:Re: How to upgrade mysql server and ndb nodes?
From:Jon Stephens (jo@mysql.com)
Date:09/19/2007 08:40:53 AM
List:com.mysql.lists.cluster

Apostolos Pantsiopoulos wrote:

I used the mysql binary tarballs to install both mysqld and the ndbds. How can I upgrade to a new version of them? The manual says that I should just upgrade to the newest binary. But what about all the other files in all the subdirs (bin, docs, lib, scripts, tests, configure, man, share, include, mysql-test, sql-bench, support-files)? The good thing is that I declared as my data dir a seperate directory. Can I just untar the newer version on top of this one?

The ndb* binaries don't have any direct dependencies, so a simple replacement of these is sufficient for those. On a machine hosting a data node, you don't need anything except ndbd. On a machine running the management server, you don't need anything other than ndb_mgmd - however, you'll probably want to put ndb_mgm and the other ndb* programmes on this machine as well. On a machine running an SQL node, it's generally a good idea to replace everything except the data directory, and to run mysql_upgrade afterwards to catch any possible changes in the system tables.