From f4fa8645fba184b71b124a4c1cd68122c7c3ad1f Mon Sep 17 00:00:00 2001 From: Steven Dake Date: Sun, 1 Apr 2012 16:59:51 -0700 Subject: [PATCH] Updated wordpress single instance template to have quotes in proper place Signed-off-by: Steven Dake --- templates/WordPress_Single_Instance.template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/WordPress_Single_Instance.template b/templates/WordPress_Single_Instance.template index fb5fbed9b2..69d9b1133d 100644 --- a/templates/WordPress_Single_Instance.template +++ b/templates/WordPress_Single_Instance.template @@ -128,8 +128,8 @@ "mysqladmin -u root password '", { "Ref" : "DBRootPassword" }, "'\n", "cat >> /tmp/mysql-wordpress-config << EOF\n", "CREATE DATABASE ", { "Ref" : "DBName" }, ";\n", - "GRANT ALL PRIVILEGES ON ", { "Ref" : "DBName" }, ".* TO ", { "Ref" : "DBUsername" }, "@localhost\n", - "IDENTIFIED BY ", { "Ref" : "DBPassword" }, ";\n", + "GRANT ALL PRIVILEGES ON ", { "Ref" : "DBName" }, ".* TO \"", { "Ref" : "DBUsername" }, "\"@\"localhost\"\n", + "IDENTIFIED BY \"", { "Ref" : "DBPassword" }, "\";\n", "FLUSH PRIVILEGES;\n", "EXIT\n", "EOF\n",