connecting to db
Exception in thread Thread-5:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
self.run()
File "thermoPiCollector.py", line 119, in run
collectorMysql.writeToDatasource(temp, timestamp, sensorName)
File "/home/pi/thermoRaspberryPi/collectorMysql.py", line 35, in writeToDatasource
.format(temp, date, sensorName))
OperationalError: (2013, 'Lost connection to MySQL server during query')
Exception in thread Thread-2:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
self.run()
File "thermoPiCollector.py", line 104, in run
collectorMysql.writeToDatasource(temp, timestamp, sensorName)
File "/home/pi/thermoRaspberryPi/collectorMysql.py", line 35, in writeToDatasource
.format(temp, date, sensorName))
OperationalError: (2006, 'MySQL server has gone away')
^CTraceback (most recent call last):