aboutsummaryrefslogtreecommitdiff
path: root/scripts/test-sql.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/test-sql.py')
-rw-r--r--scripts/test-sql.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/test-sql.py b/scripts/test-sql.py
index 9d13410f..6357ed42 100644
--- a/scripts/test-sql.py
+++ b/scripts/test-sql.py
@@ -8,9 +8,9 @@ def test(filename, section):
cfg = rpki.config.parser(filename)
- db = MySQLdb.connect(user = cfg.get(section, "username"),
- db = cfg.get(section, "database"),
- passwd = cfg.get(section, "password"))
+ db = MySQLdb.connect(user = cfg.get(section, "sql-username"),
+ db = cfg.get(section, "sql-database"),
+ passwd = cfg.get(section, "sql-password"))
cur = db.cursor()