Changeset 34295
- Timestamp:
- Aug 6, 2012, 12:59:19 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippMonitor/supervision/check_if_mysql_slave_is_running_fine.py
r34017 r34295 35 35 36 36 # Don't change anything after this 37 db = MySQLdb.connect('localhost', 'root' )37 db = MySQLdb.connect('localhost', 'root', connect_timeout=1000) 38 38 cursor = db.cursor() 39 39 cursor.execute('SHOW SLAVE STATUS')
Note:
See TracChangeset
for help on using the changeset viewer.
