SQL nodes in the mysql Cluster

Source: Internet
Author: User
The SQL node in the mysql cluster was tested for a week last week... Today, we are decisively back to the pace of mysql clusters. The result is still the old problem last week. When the mysql cluster environment is set up, data nodes can be connected, but SQL nodes cannot be connected. I found it online and it seems that there is a problem with the configuration. (I am looking at the tutorials provided on the Internet)

The SQL node in the mysql cluster was tested for a week last week... Today, we are decisively back to the pace of mysql clusters. The result is still the old problem last week. When the mysql cluster environment is set up, data nodes can be connected, but SQL nodes cannot be connected. I found it online and it seems that there is a problem with the configuration. (I am looking at the tutorials provided on the Internet)

SQL node problems in mysql Clusters

I took a test last week...

Today, we are decisively back to the pace of mysql clusters.

The result is still the old problem last week.

When the mysql cluster environment is set up, data nodes can be connected, but SQL nodes cannot be connected.

I found it online and it seems that there is a problem with the configuration. (I am looking at the tutorials provided on the Internet ).

The results showed that I had a problem with the tutorial ..

During configuration, my. cnf of the data node should be configured in this way.

[Mysqld]? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ---- I used to add less here.

Datadir =/data/mysql /? ? ? ? ? ? ? ? ? ? ? ---- This is the same as that in config. ini.

Ndbcluster

Ndb-connectstring = 192.168.44.129

[Ndbd]

Connect-string = 192.168.44.129

[Mysql_cluster]

Ndb-connectstring = 192.168.44.129

[Ndb_mgm]

Connect-string = 192.168.44.129

[Ndb_mgmd]

Config-file =/data/mysql-cluster/config. ini

?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.