When setting up a mysql-mmm environment, the following error occurs: _ MySQL

Source: Internet
Author: User
The following ERROR message is displayed when mmm_contorlshow is executed after monitor is started: Cantconnecttomonitordaemon! Solution: modify the configuration file, change debug0 to debug1, and restart mysql-mmm-monitorDEBUGmys. the following information is displayed when mmm_contorl show is executed after the 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.

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.