Event plugin was missing host entry for MySQL connection
This commit is contained in:
parent
eb2b887c0a
commit
e4d325955c
@ -61,7 +61,8 @@ class Plugin:
|
|||||||
return mysql.connect(
|
return mysql.connect(
|
||||||
user = self.config['database_credentials']['username'],
|
user = self.config['database_credentials']['username'],
|
||||||
password = self.config['database_credentials']['password'],
|
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):
|
def check_new_event_thread(self):
|
||||||
|
@ -2,7 +2,8 @@
|
|||||||
"database_credentials": {
|
"database_credentials": {
|
||||||
"username": "",
|
"username": "",
|
||||||
"password": "",
|
"password": "",
|
||||||
"database": ""
|
"database": "",
|
||||||
|
"host": ""
|
||||||
},
|
},
|
||||||
"cat_id_room_mapping": [
|
"cat_id_room_mapping": [
|
||||||
[[], ""],
|
[[], ""],
|
||||||
|
Loading…
Reference in New Issue
Block a user