Event plugin was missing host entry for MySQL connection

This commit is contained in:
Dennis Potter 2019-01-14 23:59:59 +01:00
parent eb2b887c0a
commit e4d325955c
2 changed files with 4 additions and 2 deletions

View File

@ -61,7 +61,8 @@ class Plugin:
return mysql.connect(
user = self.config['database_credentials']['username'],
password = self.config['database_credentials']['password'],
database = self.config['database_credentials']['database'])
database = self.config['database_credentials']['database'],
host = self.config['database_credentials']['host'])
def check_new_event_thread(self):

View File

@ -2,7 +2,8 @@
"database_credentials": {
"username": "",
"password": "",
"database": ""
"database": "",
"host": ""
},
"cat_id_room_mapping": [
[[], ""],