diff options
| author | Georgios Andreadis <g.andreadis@student.tudelft.nl> | 2017-09-23 23:36:12 +0200 |
|---|---|---|
| committer | Georgios Andreadis <g.andreadis@student.tudelft.nl> | 2017-09-23 23:36:12 +0200 |
| commit | afeae8c5cd413dfda8836e1fec6f3ed1b00ce6aa (patch) | |
| tree | 87d8056dfdb8cd00d9557dd0d0b45b460bc3e185 /opendc/util | |
| parent | 3d086d18a2639a76c4739b6ca7ca06416356c706 (diff) | |
Serve new frontend and use MariaDB
Diffstat (limited to 'opendc/util')
| -rw-r--r-- | opendc/util/database.py | 2 |
1 files changed, 1 insertions, 1 deletions
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): |
