fix: Ensure user creation and privileges are granted for localhost
This commit is contained in:
1 parent
1596325e82
commit
4559a2f1a6
1 file changed
+2
@@ -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;
|
||||
Reference in new issue
Block a user