16 messages in com.mysql.lists.clusterRe: Create New Database in MYSQL cluster| From | Sent On | Attachments |
|---|---|---|
| Tangirala, Srikalyan | 26 Feb 2007 13:30 | |
| Mike Kruckenberg | 26 Feb 2007 13:33 | |
| Tangirala, Srikalyan | 26 Feb 2007 13:36 | |
| Mike Kruckenberg | 26 Feb 2007 13:40 | |
| Jimmy Guerrero | 26 Feb 2007 13:44 | |
| Tangirala, Srikalyan | 26 Feb 2007 13:47 | |
| Jon Stephens | 26 Feb 2007 17:30 | |
| Agarwal, Abhishek | 27 Feb 2007 06:11 | |
| Tangirala, Srikalyan | 27 Feb 2007 06:39 | |
| Agarwal, Abhishek | 27 Feb 2007 07:58 | |
| Tangirala, Srikalyan | 27 Feb 2007 08:03 | |
| Black, Ben | 27 Feb 2007 08:28 | |
| Jon Stephens | 27 Feb 2007 15:43 | |
| Stewart Smith | 28 Feb 2007 09:21 | |
| Stewart Smith | 04 Mar 2007 11:51 | |
| Stewart Smith | 04 Mar 2007 11:54 |
| Subject: | Re: Create New Database in MYSQL cluster![]() |
|---|---|
| From: | Mike Kruckenberg (mi...@kruckenberg.com) |
| Date: | 02/26/2007 01:33:21 PM |
| List: | com.mysql.lists.cluster |
Sri,
Storage engines are table-specific, the ENGINE=NDB syntax goes into the CREATE TABLE statement.
Hope that helps.
Mike
Tangirala, Srikalyan wrote:
Hello All,
I am new to this and hence this might sound a very basic question. I have installed the MYSQL cluster and now I am trying to create a test database which stores it data on the ENGINE=NDBCLUSTER. I tried to generate this manually and got the following output.
[root@mysqlserver ~]# /usr/local/mysql/bin/mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 15
Server version: 5.1.15-beta MySQL Community Server (GPL)
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> create database example ENGINE=NDBCLUSTER;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ENGINE=NDBCLUSTER' at line 1
mysql> create database example ENGINE=NDB;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ENGINE=NDB' at line 1
mysql>
This work was performed on the SQL Server/Node. Following is the output from the MGM node which states that the Cluster is up and running.
ndb_mgm> SHOW
Cluster Configuration
---------------------
[ndbd(NDB)] 2 node(s)
id=2 @172.31.22.80 (Version: 5.1.15, Nodegroup: 0, Master)
id=3 @172.31.22.81 (Version: 5.1.15, Nodegroup: 0)
[ndb_mgmd(MGM)] 1 node(s)
id=1 @172.31.22.78 (Version: 5.1.15)
[mysqld(API)] 1 node(s)
id=4 @172.31.22.79 (Version: 5.1.15)
Please advice how we can move forward.
Thank you,
Sri




