updated inital script

This commit is contained in:
naturallaw77 2024-12-16 23:32:00 -08:00
parent 7064b52c5c
commit 5922b9a88c

View File

@ -345,7 +345,7 @@ in
services.mysql.initialScript = pkgs.writeText "wordpress-init.sql" ''
CREATE DATABASE wordpressdb;
CREATE USER wpusr WITH ENCRYPTED PASSWORD '${personalization.wordpressdb}';
CREATE USER wpusr WITH ENCRYPTED PASSWORD ${personalization.wordpressdb};
GRANT ALL PRIVILEGES ON DATABASE wordpressdb TO wpusr;
FLUSH PRIVILEGES;
''