Skip to content

Commit

Permalink
Optimized templates for special character escape problems
Browse files Browse the repository at this point in the history
  • Loading branch information
fwf91 committed May 31, 2024
1 parent 54e036c commit 66b4990
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions documents/help/ecs/wordpress-centos7.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 66b4990

Please sign in to comment.