MySQL cluster configuration parameter update

Source: Internet
Author: User

Perform the following steps on 'get MySQL cluster running-Linux:

[Cuser1 @ localhost my_cluster] $/home/cuser1/mysqlc/bin/ndb_mgmd-f conf/config. ini -- Initial -- configdir =/home/cuser1/my_cluster/CONF/
MySQL Cluster Management Server mysql-5.1.56 ndb-7.1.13
15:25:37 [mgmtsrvr] Warning -- at line 4: [MGM] ID is deprecated, use nodeid instead
15:25:37 [mgmtsrvr] Warning -- at line 12: [dB] ID is deprecated, use nodeid instead
15:25:37 [mgmtsrvr] Warning -- at line 16: [dB] ID is deprecated, use nodeid instead
15:25:37 [mgmtsrvr] Warning -- at line 19: [API] ID is deprecated, use nodeid instead
15:25:37 [mgmtsrvr] Warning -- at line 4: [MGM] ID is deprecated, use nodeid instead
15:25:37 [mgmtsrvr] Warning -- at line 12: [dB] ID is deprecated, use nodeid instead
15:25:37 [mgmtsrvr] Warning -- at line 16: [dB] ID is deprecated, use nodeid instead
15:25:37 [mgmtsrvr] Warning -- at line 19: [API] ID is deprecated, use nodeid instead


According to the prompts, the key name in the config. ini file is not suitable for the current version. Replace 'id' with 'nodeid'

[Ndb_mgmd]
Hostname = localhost
Datadir =/home/cuser1/my_cluster/ndb_data
Nodeid = 1

[Ndbd default]
Noofreplicas = 2
Datadir =/home/cuser1/my_cluster/ndb_data

[Ndbd]
Hostname = localhost
Nodeid = 3

[Ndbd]
Hostname = localhost
Nodeid = 4

[Mysqld]

Nodeid = 50


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.