updated inital script
This commit is contained in:
parent
b62cb6b47b
commit
9bb659341f
@ -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;
|
||||
''
|
||||
|
Loading…
Reference in New Issue
Block a user