python db monitoring scripts
Skip Montanaro
skip at pobox.com
Fri May 16 17:28:20 EDT 2003
Rey> Does anyone have monitoring scripts for MySQL or Sybase or UDB?
Monitoring in what sense? If all you're worried about is if the database is
up and responsive you could do something simple like
import MySQLdb
conn = MySQLdb.Connection(host=somehost, ...)
cursor = conn.cursor()
x = cursor.execute("describe tables")
Were you looking for something more elaborate?
Skip
More information about the Python-list
mailing list