updated inital script

This commit is contained in:
naturallaw77 2024-12-16 23:44:01 -08:00
parent b62cb6b47b
commit 9bb659341f

View File

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