Experience with MySQL (vi) cluster

Source: Internet
Author: User
Tags config ini modify

Official website

http://dev.mysql.com/downloads/cluster/

Mysql-cluster is actually the alias of the mysql7.0 version. But according to personal experience, in actual production, few people use. So write an article here as an introduction to understanding and learning.

cluster installation, first install Java and cmake

Datadir=/data0/search/mysql-cluster

"Install Management node"

cmake-dcmake_install_prefix=/application/search/mysql-cluster/mysql-cluster-gpl-7.2.8

Make-j16

Make Install-j16

Copy the configuration file and modify the appropriate configuration

mkdir etc

CP Support-files/config.huge.ini etc/

Start

./NDB_MGMD--config-file=/application/search/mysql-cluster/mysql-cluster-gpl-7.2.8/etc/config.ini

Modify Configuration Restart--reload

./NDB_MGMD--config-file=/application/search/mysql-cluster/mysql-cluster-gpl-7.2.8/etc/config.ini--reload

Login Admin Client

./NDB_MGM

Stop it

./ndb_mgm-e shutdown

Reboot other nodes <id> Restart-f;

View Table Partitioning

Related Article

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.