fix: Ensure user creation and privileges are granted for localhost

This commit is contained in:
infosave2007
2025-11-08 17:46:30 +03:00
parent e20686ef21
commit 618f0421f2
+2
View File
@@ -2,5 +2,7 @@
-- This runs automatically on container startup via docker-entrypoint-initdb.d
CREATE USER IF NOT EXISTS 'amnezia'@'%' IDENTIFIED BY 'amnezia';
CREATE USER IF NOT EXISTS 'amnezia'@'localhost' IDENTIFIED BY 'amnezia';
GRANT ALL PRIVILEGES ON amnezia_panel.* TO 'amnezia'@'%';
GRANT ALL PRIVILEGES ON amnezia_panel.* TO 'amnezia'@'localhost';
FLUSH PRIVILEGES;