Bug #109494 my.cnf From Documentation Produces an Error for Ndbd and Ndbmtd.
Submitted: 28 Dec 2022 23:08 Modified: 4 Jan 2023 20:48
Reporter: Ricky Bobby Email Updates:
Status: Not a Bug Impact on me:
None 
Category:MySQL Cluster: Documentation Severity:S3 (Non-critical)
Version:8.0, 5.7 OS:Any
Assigned to: CPU Architecture:Any
Tags: documentation, my.cnf

[28 Dec 2022 23:08] Ricky Bobby
Description:
Hi,

According to the documentation for version 8 here: 
https://dev.mysql.com/doc/refman/8.0/en/mysql-cluster-config-example.html

Using the my.cnf in the example doesn't work for either ndbd or ndbmtd.

ndbd: [ERROR] unknown variable 'connectstring=ndb-mgmt0,ndb-mgmt1'.

 

How to repeat:
1. Copy my.cnf from https://dev.mysql.com/doc/refman/8.0/en/mysql-cluster-config-example.html to /etc/mysql/my.cnf

2. change the host names to suit my environment

3. Attempt to run either either ndbd or ndbmtd.

Suggested fix:
Change connect-string to ndb-connectstring where applicable.
[29 Dec 2022 5:53] MySQL Verification Team
Hello Ricky Bobby,

Thank you for the report and feedback.

regards,
Umesh
[4 Jan 2023 20:48] Jon Stephens
This works for me with a recent 8.0.33 build.

Thanks, but this does not seem to be a bug.