Closed williamjoy closed 2 years ago
for temp skip the error, modify File "/usr/share/diamond/collectors/mysqlstat/mysqlstat.py", line 313
def disconnect(self):
- self.db.close()
+ if hasattr(self, 'db'):
+ self.db.close()
Based on the limited info, I am guessing there is an uncaught exception in the connect method when trying to define self.db. You could add some debug lines to narrow it down.