From 02f6f18e9ca1f6a92ca76cc29675a0c9f6041a38 Mon Sep 17 00:00:00 2001 From: Chase Wright Date: Fri, 17 Feb 2017 14:22:48 -0600 Subject: [PATCH] Fixed localhost --- guac-install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/guac-install.sh b/guac-install.sh index 57d79b9..07e68b4 100644 --- a/guac-install.sh +++ b/guac-install.sh @@ -77,8 +77,8 @@ service tomcat8 restart # SQL Code SQLCODE=" create database guacamole_db; -create user 'guacamole_user'@'%' identified by \"$guacdbuserpassword\"; -GRANT SELECT,INSERT,UPDATE,DELETE ON guacamole_db.* TO 'guacamole_user'@'%'; +create user 'guacamole_user'@'localhost' identified by \"$guacdbuserpassword\"; +GRANT SELECT,INSERT,UPDATE,DELETE ON guacamole_db.* TO 'guacamole_user'@'localhost'; flush privileges;" # Execute SQL Code