MySQL Instance manager configuration file

Source: Internet
Author: User

Instance Manager uses standard MY.CNF files. It uses the [manager] section to read the options for itself and read the [MySQLd] section to create an instance. The [Manager] section contains the options listed above. The following is an example of the [Manager] section:

# MySQL Instance Manager options section
[manager]
default-mysqld-path = /usr/local/mysql/libexec/mysqld
socket=/tmp/manager.sock
pid-file=/tmp/manager.pid
password-file = /home/cps/.mysqlmanager.passwd
monitoring-interval = 2
port = 1999
bind-address = 192.168.1.5

The MySQL instance manager reads and manages/ETC/MY.CNF files only in Unix. In Windows, the MySQL instance manager reads My.ini files from the installation directory of Instance Manager. You can change the location of the default option file with the--defaults-file=file_ name option.

The instance section specifies the option to give each instance at startup. These are mostly common MySQL server options, but there are some im-specific options:

·mysqld-path = <path-to-mysqld-binary>

The path to the MYSQLD server binary.

·shutdown-delay = Seconds

The number of seconds that im should wait for the instance to shut down. The default is 35 seconds. After the delay time, IM assumes that the instance is pending and attempts to "kill–9" it. If you use a innodb with a large table, you should increase the value.

·nonguarded

If you want to disable IM monitoring for an instance, you should set this option.

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.