[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: What is best way to check mysql status?
You should look up mysqladmin in the manual. It depends on what you want
to know. mysqladmin ping will tell you if the server is alive or not, or
you can use mysqladmin status to get a brief stat report about the server.
John Barton
Unix Systems Administrator
Primary Networks, Inc.
jbarton@xxxxxxxxxxx
On 21 Mar 2001, Jose de Leon wrote:
> I have found at least three ways to check up/down status of MySQL. I am
> wondering what is considered the most reliable method, please comment
> and add if you have another method.
>
> 1. Check for existence of PID file created by MySQL
> 2. Check for existence of mysql.sock
> 3. Verify connection via telnet to port 3306.
>
> Thank you,
> Jose de Leon
>
>
>
> ---------------------------------------------------------------------
> Before posting, please check:
> http://www.mysql.com/manual.php (the manual)
> http://lists.mysql.com/ (the list archive)
>
> To request this thread, e-mail <mysql-thread68885@xxxxxxxxxxxxxxx>
> To unsubscribe, e-mail <mysql-unsubscribe-jbarton=technicalworks.net@xxxxxxxxxxxxxxx>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
>
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <mysql-thread68900@xxxxxxxxxxxxxxx>
To unsubscribe, e-mail <mysql-unsubscribe-treed=ultraviolet.org@xxxxxxxxxxxxxxx>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
This mailing list archive is a service of Copilot Consulting.