[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[monit] MySQL: connection failed

From: Ramon Tayag
Subject: [monit] MySQL: connection failed
Date: Tue, 18 Aug 2009 13:16:58 +0800

Hi all,

I'm trying to monit MySQL now on CentOS, but I've used the exact same
config file for mysql in another server (Ubuntu) and it works fine.

check process mysql with pidfile /var/run/mysqld/
   group database
   start program = "/etc/init.d/mysqld start"
   stop program = "/etc/init.d/mysqld stop"
   if failed host port 3306 then restart
   if 5 restarts within 5 cycles then timeout

But I'm unable to monitor it (connection failed to
[DEFAULT via TCP]), and I don't know why. I also tried the same config
except I changed but changed it to localhost, but it still

What should I do?

Ramon Tayag

reply via email to

[Prev in Thread] Current Thread [Next in Thread]