An error is reported when a mysql-mmm environment is set up, and a mysql-mmm environment is reported.

Source: Internet
Author: User

An error is reported when a mysql-mmm environment is set up, and a mysql-mmm environment is reported.

The following information is displayed when mmm_contorl show is executed after monitor is started.

ERROR: Can't connect to monitor daemon!

Solution:

Modify configuration file

Set debug = 0

Change

Debug = 1

Then restart mysql-mmm-monitor.

DEBUG mysql (db2) = 'error: Connect ERROR (host = 10.10.1.100: 3306, user = mmm_monitor )! Can't connect to MySQL server on '10. 10.1.100 '(4 )'

Cause: Your agent configuration file contains this db1. this db2. there is no corresponding resolution in the host. Therefore, the connection cannot be established.

 

Solution:

1. You can write the ing between the host name and IP address of each mysql instance in hosts. conf.

2. You can use the DNS service.

3. You can add skip-name-resolve to my. cnf.

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.