MySQL Instance manager command line options

Source: Internet
Author: User
Tags command line port number

The MySQL instance manager supports many command-line options. The Execute./mysqlmanager--help command can be simply listed. There are the following options:

·--help,-?

Displays a help message and exits.

·--bind-address=name

The binding address is used for the connection.

·--default-mysqld-path=name

In Unix, if the instance part does not have a path, the location of the MySQL server binary is sought. For example: Default-mysqld-path =/usr/sbin/mysqld

·--defaults-file=file_name

Read instance Manager and MySQL server settings from the given file. All instance manager changed configurations will be added to the file. Only the first option for instance Manager.

·--install

In Windows, install Instance Manager as a Windows service.

·--log=name

The path to the IM log file. Combined with the--run-as-service option.

·--monitoring-interval=Seconds

Monitor the interval of the instance in seconds. Instance Manager will attempt to connect to each monitored instance to check that they are active/not pending. If there is a failure, IM will restart the instance several times (actually many times). You can disable the behavior for a specific instance with the nonguarded option. If no value is given, 20 seconds is used by default.

·--passwd,-P

Write passwd file and exit.

·--password-file=name

Look for the instance Manager user and password from this file. The default file is/etc/mysqlmanager.passwd.

·--pid-file=name

The process ID file used. By default, this file file name is Mysqlmanager.pid.

·-- port=port_num

The port number to use for the connection. (The default port number assigned by the IANA is 2273).

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.