diff --git a/documents/help/ecs/wordpress-centos7.yml b/documents/help/ecs/wordpress-centos7.yml index 32e17b81..051e2545 100644 --- a/documents/help/ecs/wordpress-centos7.yml +++ b/documents/help/ecs/wordpress-centos7.yml @@ -451,8 +451,8 @@ Resources: export MYSQL_PWD='${DbPassword}' mysql -uroot -e "GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY '${DbPassword}'" echo CREATE DATABASE wordpress\; >> /tmp/setup.mysql - echo CREATE user "user"@"localhost" identified by \"${DbPassword}\"\; >> /tmp/setup.mysql - echo GRANT ALL privileges ON wordpress.* TO "user"@"localhost" IDENTIFIED BY \"${DbPassword}\"\; >> /tmp/setup.mysql + echo CREATE user "user"@"localhost" identified by '"${DbPassword}"'\; >> /tmp/setup.mysql + echo GRANT ALL privileges ON wordpress.* TO "user"@"localhost" IDENTIFIED BY '"${DbPassword}"'\; >> /tmp/setup.mysql echo FLUSH privileges\;>> /tmp/setup.mysql chmod 400 /tmp/setup.mysql mysql -u root --password='${DbPassword}' < /tmp/setup.mysql