MySQL Forums
Forum List  »  NDB clusters

Re: Migrating existing db into cluster
Posted by: Mikael Ronström
Date: January 10, 2005 03:26PM

viju padman wrote:
> I have a couple of questions related to the MYSQL
> cluster
>
> 1) Is there a configuration file/property that can
> be specified so that all tables that I create will
> automatically be created
> in the cluster (instead of specifying
> ENGINE=NDBCLUSTER with every CREATE TABLE
> command)
>

Use --default-table-type=ndbcluster as parameter when starting mysqld

> 2) Lets says that I have a existing database that
> is not part of the cluster. How do I migrate this
> database into the MYSQL cluster ?
>

ALTER TABLE .... ENGINE = NDBCLUSTER of each table

Rgrds Mikael

>
> Thanks,
> -Viju

Options: ReplyQuote


Subject
Views
Written By
Posted
3129
January 10, 2005 10:37AM
Re: Migrating existing db into cluster
2010
January 10, 2005 03: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.