diff --git a/html/ops/repair_21812.php b/html/ops/repair_21812.php
index 2f101c29ff..523fb7abc8 100644
--- a/html/ops/repair_21812.php
+++ b/html/ops/repair_21812.php
@@ -7,7 +7,7 @@ $cli_only = true;
require_once("../inc/db.inc");
set_time_limit(0);
-db_init();
+db_init_aux();
$config = get_config();
$mjd = parse_element($config, "daily_result_quota");