本人在Windows环境下搭建MySQL Cluster,一台电脑,一台是虚拟机,电脑上一个管理节点,一个数据节点,一个SQL节点,虚拟机上一个数据节点,一个SQL节点,现在在虚拟机启动数据节点时报错 下面是本人Config.ini的配置
[ndbd default] # Options affecting ndbd processes on all data nodes: # Number of replicas NoOfReplicas=2 DataDir=c:/mysqlcluster/datanode/mysql/bin/cluster-data # Directory for each data node"s data files # Memory allocated to data storage DataMemory=80M # Memory allocated to index storage IndexMemory=18M # For DataMemory and IndexMemory, we have used the # default values. [ndb_mgmd] # Management process options: # Hostname or IP address of management node 管理节点 ID=1 HostName=192.168.1.66 # Directory for management node log files DataDir=C:/mysql/bin/cluster-logs [ndbd] # Options for data node "A": # (one [ndbd] section per data node) # Hostname or IP address 数据节点 ID=2 HostName=192.168.1.66 [ndbd] # Options for data node "B": # Hostname or IP address ID=3 HostName=192.168.127.129 [mysqld] # SQL node options: # Hostname or IP address sql节点 ID=4 HostName=192.168.1.66 [mysqld] # SQL node options: # Hostname or IP address ID=5 HostName=192.168.127.129 [mysqld] [mysqld]
求指导?
解决方案
20
1186端口被占用 ?
20
telnet ip 端口 测试一下