235 current 2025-10-10 21:42:12 25.05.20251006.20c4598 6.12.50 *

This commit is contained in:
2025-10-10 21:46:14 -05:00
parent 15bf851f33
commit 6b70ab5f69
2 changed files with 2 additions and 2 deletions

View File

@@ -87,7 +87,7 @@ in
];
initialScript = pkgs.writeText "minecraft_recpro-init.sql" ''
SET @passwd = LOAD_FILE('/run/secrets/minecraft_recpro_db_passwd');
CREATE USER IF NOT EXISTS 'minecraft_recpro'@'localhost' IDENTIFIED BY @passwd;
CREATE USER IF NOT EXISTS 'minecraft_recpro'@'localhost' IDENTIFIED BY '@passwd';
GRANT ALL PRIVILEGES ON minecraft_recpro_db.* TO 'minecraft_recpro'@'localhost';
FLUSH PRIVILEGES;
'';