MySQL Forums
Forum List  »  NDB clusters

Re: Clarification on MySQL Cluster functionality
Posted by: Stewart Smith
Date: March 31, 2005 10:26PM

Yes, this is what is meant to happen.

We autodiscover tables, but not databases (yet).

so you need to run CREATE DATABASE on each mysqld connecting to cluster.

If you want to make this relatively painless, the following bash command may help:

for i in server1 server2 server3; do mysql -u root -h $i -e 'create database foo;'; done

(obviously, replacing serverN and foo)

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Clarification on MySQL Cluster functionality
1887
March 31, 2005 10:26PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.