MySQL Forums
Forum List  »  NDB clusters

unable to load data in ndb cluster of size 1
Posted by: richard horan
Date: May 11, 2006 01:06PM

I keep getting an error but i don't know how to determine what the problem is. below is a snapshot of what i am doing. This is 5.1.9 mysql cluster.

mysql> select count(*) from MASTER_INDEX;
ERROR 1046 (3D000): No database selected
mysql> connect test;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Connection id: 15
Current database: test

mysql> select count(*) from MASTER_INDEX;
+----------+
| count(*) |
+----------+
| 0 |
+----------+
1 row in set (0.00 sec)

mysql> load data local infile '/ttpoc/mysql/rickbuild/data/test/masterindexdata
.ascii' into table MASTER_INDEX;
Query OK, 1 row affected, 3 warnings (0.01 sec)
Records: 2 Deleted: 0 Skipped: 1 Warnings: 0

mysql> show warnings;
+-------+------+--------------------------------------------------------------+
| Level | Code | Message |
+-------+------+--------------------------------------------------------------+
| Error | 1296 | Got error 4350 'Transaction already aborted' from NDB |
| Error | 1296 | Got error 4350 'Transaction already aborted' from NDBCLUSTER |
| Error | 1180 | Got error 4350 during COMMIT |
+-------+------+--------------------------------------------------------------+
3 rows in set (0.00 sec)

mysql> select count(*) from MASTER_INDEX;
+----------+
| count(*) |
+----------+
| 0 |
+----------+
1 row in set (0.00 sec)


mysql> describe MASTER_INDEX;
+------------------+---------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+------------------+---------------+------+-----+---------+-------+
| MDN | varchar(15) | NO | PRI | | |
| MIN | varchar(15) | YES | UNI | | |
| SIP_URI | varchar(1000) | YES | UNI | | |
| EMAIL_ADDRESS | varchar(1000) | YES | UNI | | |
| IM_HANDLE | varchar(1000) | YES | UNI | | |
| SLEE_CLUSTER_ID | char(2) | YES | | | |
| SLEE_HOST_ID | char(2) | YES | | | |
| SIMDB_CLUSTER_ID | char(2) | YES | | | |
| SIMDB_HOST_ID | char(2) | YES | | | |
+------------------+---------------+------+-----+---------+-------+
9 rows in set (0.01 sec)


how do i figure out what it is complaining about?

Options: Reply• Quote


Subject
Views
Written By
Posted
unable to load data in ndb cluster of size 1
2303
May 11, 2006 01:06PM


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.