Quantcast
Channel: MySQL Forums - NDB clusters
Viewing all articles
Browse latest Browse all 1560

Can't create table (1 reply)

$
0
0
I would like to create a table on a ndbcluster but i keep getting errors:

My SQL:


mysql> CREATE TABLE IF NOT EXISTS `blocks2` (
-> `id` bigint(20) NOT NULL AUTO_INCREMENT,
-> `hash` varchar(66) DEFAULT NULL,
-> `block_number` bigint(20) DEFAULT NULL,
-> `parent_hash` varchar(66) DEFAULT NULL,
-> `miner` varchar(42) DEFAULT NULL,
-> `difficulty` bigint(20) DEFAULT NULL,
-> `size` bigint(20) DEFAULT NULL COMMENT 'size in bytes',
-> `gas_limit` bigint(20) DEFAULT NULL,
-> `gas_used` bigint(20) DEFAULT NULL,
-> `time_stamp` datetime DEFAULT NULL,
-> `transactions` bigint(20) DEFAULT NULL,
-> PRIMARY KEY (`id`)
-> ) ENGINE=ndbcluster AUTO_INCREMENT=12394243 DEFAULT CHARSET=utf16 COLLATE=utf16_bin;


The error code:

ERROR 1005 (HY000): Can't create table 'blocks2'
mysql>

Viewing all articles
Browse latest Browse all 1560

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>