diff --git a/aurweb/scripts/mkpkglists.py b/aurweb/scripts/mkpkglists.py
index 91a91ec1c6cb2f0b59b4f35fb1083da3d2e3807a..9adbdbf26f3a4fd5a4bf7cba54568d4130368963 100755
--- a/aurweb/scripts/mkpkglists.py
+++ b/aurweb/scripts/mkpkglists.py
@@ -15,6 +15,9 @@ userfile = aurweb.config.get('mkpkglists', 'userfile')
 
 
 def should_update(tablename: str) -> int:
+    if aurweb.config.get("database", "backend") != "mysql":
+        return True
+
     conn = aurweb.db.Connection()
 
     db_name = aurweb.config.get("database", "name")