title: check mysql status on remote host
body: <p>I need to check whether mysql is running or no on a given host.  </p>
  
  <p>For example, if a user gives 100pulse.com as a host then i've check the 100pulse.com server and output whether mysql in that server is offline or online. Is there any functions?   </p>
  
  <p>Any help greatly appreciated, Thanks.</p>