ERROR 1286 (42000): Unknown storage engine 'NDBCLUSTER'
configured the cluster ndbcluster engine but does not exist .
following configuration.
-- config.ini
[ndbd default]
# Options affecting ndbd processes on all data nodes:
NoOfReplicas=2 # Number of replicas
DataMemory=80M # How much memory to allocate for data storage
IndexMemory=18M # How much memory to allocate for index storage
# For DataMemory and IndexMemory, we have used the
# default values. Since the "world" database takes up
# only about 500KB, this should be more than enough for
# this example Cluster setup.
[tcp default]
# TCP/IP options:
portnumber=1186 # This the default; however, you can use any
# port that is free for all the hosts in the cluster
# Note: It is recommended that you do not specify the port
# number at all and simply allow the default value to be used
# instead
[ndb_mgmd]
# Management process options:
hostname=10.21.10.190
datadir=/var/lib/mysql-cluster
[ndbd]
hostname=10.21.10.192
datadir=/var/lib/mysql
[ndbd]
hostname=10.21.10.193
datadir=/var/lib/mysql
[mysqld]
# SQL node options:
hostname=10.21.10.191
-- my.cnf node 01
[mysqld]
# Options for mysqld process:
ndbcluster # run NDB storage engine
[mysql_cluster]
ndb-connectstring=10.21.10.192 # location of management server
-- my.cnf node 02
[mysqld]
# Options for mysqld process:
ndbcluster # run NDB storage engine
[mysql_cluster]
ndb-connectstring=10.21.10.192 # location of management server
ndb_mgm> show
Connected to Management Server at: localhost:1186
Cluster Configuration
---------------------
[ndbd(NDB)] 2 node(s)
id=2 @10.21.10.192 (mysql-5.6.17 ndb-7.3.5, Nodegroup: 0)
id=3 @10.21.10.193 (mysql-5.6.17 ndb-7.3.5, Nodegroup: 0, *)
[ndb_mgmd(MGM)] 1 node(s)
id=1 @10.21.10.190 (mysql-5.6.17 ndb-7.3.5)
[mysqld(API)] 1 node(s)
id=4 @10.21.10.191 (mysql-5.6.17 ndb-7.3.5)
configured the cluster ndbcluster engine but does not exist .
following configuration.
-- config.ini
[ndbd default]
# Options affecting ndbd processes on all data nodes:
NoOfReplicas=2 # Number of replicas
DataMemory=80M # How much memory to allocate for data storage
IndexMemory=18M # How much memory to allocate for index storage
# For DataMemory and IndexMemory, we have used the
# default values. Since the "world" database takes up
# only about 500KB, this should be more than enough for
# this example Cluster setup.
[tcp default]
# TCP/IP options:
portnumber=1186 # This the default; however, you can use any
# port that is free for all the hosts in the cluster
# Note: It is recommended that you do not specify the port
# number at all and simply allow the default value to be used
# instead
[ndb_mgmd]
# Management process options:
hostname=10.21.10.190
datadir=/var/lib/mysql-cluster
[ndbd]
hostname=10.21.10.192
datadir=/var/lib/mysql
[ndbd]
hostname=10.21.10.193
datadir=/var/lib/mysql
[mysqld]
# SQL node options:
hostname=10.21.10.191
-- my.cnf node 01
[mysqld]
# Options for mysqld process:
ndbcluster # run NDB storage engine
[mysql_cluster]
ndb-connectstring=10.21.10.192 # location of management server
-- my.cnf node 02
[mysqld]
# Options for mysqld process:
ndbcluster # run NDB storage engine
[mysql_cluster]
ndb-connectstring=10.21.10.192 # location of management server
ndb_mgm> show
Connected to Management Server at: localhost:1186
Cluster Configuration
---------------------
[ndbd(NDB)] 2 node(s)
id=2 @10.21.10.192 (mysql-5.6.17 ndb-7.3.5, Nodegroup: 0)
id=3 @10.21.10.193 (mysql-5.6.17 ndb-7.3.5, Nodegroup: 0, *)
[ndb_mgmd(MGM)] 1 node(s)
id=1 @10.21.10.190 (mysql-5.6.17 ndb-7.3.5)
[mysqld(API)] 1 node(s)
id=4 @10.21.10.191 (mysql-5.6.17 ndb-7.3.5)