Bug #11327 The -e command-line option for ndb_mgm is not explained (on-line Docs)
Submitted: 14 Jun 2005 16:42 Modified: 19 Jul 2005 11:11
Reporter: Jonathan Miller Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Documentation Severity:S3 (Non-critical)
Version:Current OS:N/A
Assigned to: Jon Stephens CPU Architecture:Any

[14 Jun 2005 16:42] Jonathan Miller
Description:
The FAQ list a -e option, but I cannot find its meaning in the Command Options for ndb_mgm:

FAQ:
What happens to cluster data when the cluster is shut down?

The data held in memory by the cluster's data nodes is written to disk, and is reloaded in memory the next time that the cluster is started.

To shut down the cluster, enter the following in a shell on the machine hosting the MGM node:

shell> ndb_mgm -e shutdown

This will cause the ndb_mgm, ndb_mgm, and any ndbd processes to terminate gracefully. MySQL servers running as Cluster SQL nodes can be stopped using mysqladmin shutdown. 

Command Options for ndb_mgm:

 For some common options see Section 16.5.5, “Command Options for MySQL Cluster Processes”.

    *

      [host_name [port_num]]

      To start the management client it is necessary to specify where the management server resides, which means specifying the hostname and the port. The default hostname is localhost and the default port is 1186 (this was port 2200 prior to version 4.1.8).
    *

      --try-reconnect=number

      If the connection to the management server is broken, then the node tries to reconnect to it every 5 seconds until it succeeds. By using this option, it is possible to limit the number of attempts to number before giving up and reporting an error instead.

How to repeat:

http://dev.mysql.com/doc/mysql/en/mysql-cluster-faq.html

http://dev.mysql.com/doc/mysql/en/ndb-mgm-command-options.html

Suggested fix:
Explain the -e option.
[19 Jul 2005 10:39] Jon Stephens
Thank you for your bug report. This issue has been addressed in the
documentation. The updated documentation will appear on our website
shortly, and will be included in the next release of the relevant
product(s).

Additional info:

The -e or --execute option is available to several MySQL client programs for passing commands, e.g.

mysql -u jon -p -e "SELECT Name FROM Country WHERE Name LIKE 'AU%'" world

I've fixed this in the refman-5.0 tree and will propagate it to the other versions soon.
[19 Jul 2005 11:11] Jon Stephens
Thank you for your bug report. This issue has been addressed in the
documentation. The updated documentation will appear on our website
shortly, and will be included in the next release of the relevant
product(s).

Additional info:

Changes propagated to all refman trees.