@cryptotaxi247 / netdata-1 / commits / dc88c6c87

cast mysql port from str to int

paulfantom committed Sep 17, 2016 at 19:31 UTC dc88c6c87a4b95d9ee049022a2d55860a94ecc41
1 file changed +1 -1
python.d/mysql.chart.py
+1 -1
@@ -331,7 +331,7 @@ class Service(SimpleService):
331 elif 'host' in configuration:
332 parameters['host'] = self.configuration['host']
333 if 'port' in configuration:
334 - parameters['port'] = self.configuration['port']
334 + parameters['port'] = int(self.configuration['port'])
335 self.connection_parameters = parameters
336
337 def _connect(self):