From afeae8c5cd413dfda8836e1fec6f3ed1b00ce6aa Mon Sep 17 00:00:00 2001 From: Georgios Andreadis Date: Sat, 23 Sep 2017 23:36:12 +0200 Subject: Serve new frontend and use MariaDB --- opendc/util/database.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'opendc') diff --git a/opendc/util/database.py b/opendc/util/database.py index 337f8fc7..32aa947c 100644 --- a/opendc/util/database.py +++ b/opendc/util/database.py @@ -14,7 +14,7 @@ CONNECTION_POOL = None def init_connection_pool(user, password, database, host, port): global CONNECTION_POOL - CONNECTION_POOL = MySQLConnectionPool(pool_name = "opendcpool", pool_size = 5, \ + CONNECTION_POOL = MySQLConnectionPool(pool_name = "opendcpool", pool_size = 5, user=user, password=password, database=database, host=host, port=port) def execute(statement, t): -- cgit v1.2.3