Hi,
I can only create ndbcluster tables having no index defined. When I try to set an index to one of the columns I get no feedback from mysql server.
Does anybody know what could cause that problem?
show warnings; / show errors; is not giving any message...
This is my setup:
5.5.27-ndb-7.2.8-cluster-gpl
Connected to Management Server at: localhost:1186
Cluster Configuration
---------------------
[ndbd(NDB)] 4 node(s)
id=10 @192.168.1.10 (mysql-5.5.27 ndb-7.2.8, Nodegroup: 0)
id=12 @192.168.1.12 (mysql-5.5.27 ndb-7.2.8, Nodegroup: 0, Master)
id=14 @192.168.1.14 (mysql-5.5.27 ndb-7.2.8, Nodegroup: 1)
id=17 @192.168.1.17 (mysql-5.5.27 ndb-7.2.8, Nodegroup: 1)
[ndb_mgmd(MGM)] 1 node(s)
id=1 @192.168.1.1 (mysql-5.5.27 ndb-7.2.8)
[mysqld(API)] 1 node(s)
id=50 @192.168.1.1 (mysql-5.5.27 ndb-7.2.8)
Update:
Alter table is working but I cannot insert data sets...getting no response on console and have to skip the insert query.
mysql> ALTER TABLE test ENGINE=NDBCLUSTER;
Query OK, 0 rows affected (2.08 sec)
Records: 0 Duplicates: 0 Warnings: 0
mysql> describe test;
+-------+--------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+-------+--------------+------+-----+---------+-------+
| id | int(11) | NO | PRI | NULL | |
| text | varchar(255) | NO | | NULL | |
+-------+--------------+------+-----+---------+-------+
2 rows in set (0.01 sec)
I can only create ndbcluster tables having no index defined. When I try to set an index to one of the columns I get no feedback from mysql server.
Does anybody know what could cause that problem?
show warnings; / show errors; is not giving any message...
This is my setup:
5.5.27-ndb-7.2.8-cluster-gpl
Connected to Management Server at: localhost:1186
Cluster Configuration
---------------------
[ndbd(NDB)] 4 node(s)
id=10 @192.168.1.10 (mysql-5.5.27 ndb-7.2.8, Nodegroup: 0)
id=12 @192.168.1.12 (mysql-5.5.27 ndb-7.2.8, Nodegroup: 0, Master)
id=14 @192.168.1.14 (mysql-5.5.27 ndb-7.2.8, Nodegroup: 1)
id=17 @192.168.1.17 (mysql-5.5.27 ndb-7.2.8, Nodegroup: 1)
[ndb_mgmd(MGM)] 1 node(s)
id=1 @192.168.1.1 (mysql-5.5.27 ndb-7.2.8)
[mysqld(API)] 1 node(s)
id=50 @192.168.1.1 (mysql-5.5.27 ndb-7.2.8)
Update:
Alter table is working but I cannot insert data sets...getting no response on console and have to skip the insert query.
mysql> ALTER TABLE test ENGINE=NDBCLUSTER;
Query OK, 0 rows affected (2.08 sec)
Records: 0 Duplicates: 0 Warnings: 0
mysql> describe test;
+-------+--------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+-------+--------------+------+-----+---------+-------+
| id | int(11) | NO | PRI | NULL | |
| text | varchar(255) | NO | | NULL | |
+-------+--------------+------+-----+---------+-------+
2 rows in set (0.01 sec)