From 5fb15b36bf1af1e1b312188dc2a480c85c606bd7 Mon Sep 17 00:00:00 2001 From: Martin Hohenberg Date: Thu, 18 Jun 2026 21:40:19 +0200 Subject: [PATCH] Grant ALL PRIVILEGES so Alembic can run DDL migrations MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit CRUD-only was too restrictive — CREATE TABLE and ALTER TABLE are needed. Co-Authored-By: Claude Sonnet 4.6 --- create_db.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/create_db.sql b/create_db.sql index 7e770ef..f9d17d1 100644 --- a/create_db.sql +++ b/create_db.sql @@ -8,6 +8,6 @@ CREATE DATABASE IF NOT EXISTS pops CREATE USER IF NOT EXISTS 'pops'@'%' IDENTIFIED WITH caching_sha2_password BY 'changeme'; -GRANT SELECT, INSERT, UPDATE, DELETE ON pops.* TO 'pops'@'%'; +GRANT ALL PRIVILEGES ON pops.* TO 'pops'@'%'; FLUSH PRIVILEGES;