fix: Ensure user creation and privileges are granted for localhost
This commit is contained in:
@@ -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