[英]mysql cluster manager : Unable to connect to mysql client instance mysql cluster 7.5.5
我按照以下链接中提到的步骤进行操作
下面是mysql集群管理器的conf文件
[ndb_mgmd]
# Management process options:
hostname=sit-mysql-manager-hostname.com # Hostname of the manager
datadir=/var/lib/mysql-cluster # Directory for the log files
[ndbd]
hostname=sit-mysql-node1-hostname.com # Hostname of the first data node
datadir=/usr/local/mysql/data # Remote directory for the data files
[ndbd]
hostname=sit-mysql-node2-hostname.com # Hostname of the second data node
datadir=/usr/local/mysql/data # Remote directory for the data files
[mysqld]
# SQL node options:
hostname=sit-mysql-manager-hostname.com # In our case the MySQL server/client is on the same Droplet as the cluster manager
Node1和Node 2已启动并正在运行。 Mysql集群管理器可以连接到那些节点。
无法连接到管理器服务器中存在的Mysql集群管理器的mysql客户端。
确保已更改selinux设置。
执行-
setenforce 0
getenforce
此操作的o / p应该是允许的
永久设置-https : //www.centos.org/docs/5/html/5.1/Deployment_Guide/sec-sel-enable-disable.html
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.