diff options
Diffstat (limited to 'opendc/util/database.py')
| -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): |
