I'm trying to monitor whether our mysql server is up. The command I'm using for this is:
It will return the following:
mysqld is alive
Does this just check whether the process is currently running or does it also check whether the server is accepting connections?