1
0
mirror of https://github.com/MysticRyuujin/guac-install.git synced 2023-10-10 13:36:56 +02:00

Updated SQL code from localhost to %

This commit is contained in:
Chase Wright 2017-02-11 08:49:09 -06:00 committed by GitHub
parent 72f61761ed
commit 0cb80f82ca

View File

@ -77,8 +77,8 @@ service tomcat8 restart
# SQL Code
SQLCODE="
create database guacamole_db;
create user 'guacamole_user'@'localhost' identified by \"$guacdbuserpassword\";
GRANT SELECT,INSERT,UPDATE,DELETE ON guacamole_db.* TO 'guacamole_user'@'localhost';
create user 'guacamole_user'@'%' identified by \"$guacdbuserpassword\";
GRANT SELECT,INSERT,UPDATE,DELETE ON guacamole_db.* TO 'guacamole_user'@'%';
flush privileges;"
# Execute SQL Code