Easily manage multiple MySQL instances with instance Manager

Source: Internet
Author: User
Tags mysql database

One, the MySQL database instance Manager Overview:

1, the MySQL database instance Manager (IM) is through the TCP/IP port running background program, used to monitor and manage the MySQL database server instance.

2, if im hanging, then all the instances will be hung; If the instance hangs, Im will try to start it again.

3, IM reading configuration files such as MY.CNF [manager] section.

4. The example in this article is based on the Linux environment test.

Second, the configuration note:

1, the configuration file is as follows:

[manager]

user=mysql

default-mysqld-path = /usr/local/mysql/bin/mysqld

socket=/tmp/manager.sock

pid-file=/tmp/manager.pid

password-file = /etc/mysqlmanager.passwd

monitoring-interval = 2

port = 1999

bind-address = 192.168.0.231

log = /usr/local/mysql/bin/mysqlmanager.log

run-as-service = true

[mysqld1]

...

[mysqld2]

...

This has two configuration instances, specifically do not say. See my article for installing multiple instances.

See Mysqlmanager--help for specific meanings

Related Article

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.