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:
parent
72f61761ed
commit
0cb80f82ca
@ -34,7 +34,7 @@ wget $SERVER/incubator/guacamole/$VERSION-incubating/binary/guacamole-$VERSION-i
|
|||||||
wget $SERVER/incubator/guacamole/$VERSION-incubating/binary/guacamole-auth-jdbc-$VERSION-incubating.tar.gz
|
wget $SERVER/incubator/guacamole/$VERSION-incubating/binary/guacamole-auth-jdbc-$VERSION-incubating.tar.gz
|
||||||
wget https://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-java-5.1.40.tar.gz
|
wget https://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-java-5.1.40.tar.gz
|
||||||
|
|
||||||
#Extract Guacamole Files
|
# Extract Guacamole Files
|
||||||
tar -xzf guacamole-server-$VERSION-incubating.tar.gz
|
tar -xzf guacamole-server-$VERSION-incubating.tar.gz
|
||||||
tar -xzf guacamole-auth-jdbc-$VERSION-incubating.tar.gz
|
tar -xzf guacamole-auth-jdbc-$VERSION-incubating.tar.gz
|
||||||
tar -xzf mysql-connector-java-5.1.40.tar.gz
|
tar -xzf mysql-connector-java-5.1.40.tar.gz
|
||||||
@ -77,8 +77,8 @@ service tomcat8 restart
|
|||||||
# SQL Code
|
# SQL Code
|
||||||
SQLCODE="
|
SQLCODE="
|
||||||
create database guacamole_db;
|
create database guacamole_db;
|
||||||
create user 'guacamole_user'@'localhost' identified by \"$guacdbuserpassword\";
|
create user 'guacamole_user'@'%' identified by \"$guacdbuserpassword\";
|
||||||
GRANT SELECT,INSERT,UPDATE,DELETE ON guacamole_db.* TO 'guacamole_user'@'localhost';
|
GRANT SELECT,INSERT,UPDATE,DELETE ON guacamole_db.* TO 'guacamole_user'@'%';
|
||||||
flush privileges;"
|
flush privileges;"
|
||||||
|
|
||||||
# Execute SQL Code
|
# Execute SQL Code
|
||||||
|
Loading…
Reference in New Issue
Block a user