Grant ALL PRIVILEGES so Alembic can run DDL migrations
CRUD-only was too restrictive — CREATE TABLE and ALTER TABLE are needed. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user