Tuesday 8 February, 2011

Python Script to check mysql server

A friend of mine asked me to create a python script which checks if the mysql server is running or not. So, I could come up with this simple script. Although, there are many script available to do the same, in probably better manner, but still here it is. Hope you find it useful.



Resources

  1. Repo: http://code.google.com/p/pranav/source/browse/poll_mysql/polling.py

1 comment:

  1. I am pretty sure, mysql_connect() will tell you the same.

    ReplyDelete