==== Installing MySQL Authentication Module ====
Download the MySQL Authentication Modulehttp://sourceforge.net/projects/guacamole/files/current/extensions/guacamole-auth-mysql-0.8.0.tar.gz/downloadCreate a working directory and move there
Move to the directory containing the download and unpack the download{{Code|Code = sudo mkdir -p /var/hda/web-apps/guacamole/sqlauth && cd /var/hda/web-apps/guacamole/sqlauth}}
{{Code|Code = # tar -xzf guacamole-auth-mysql-0.8.0.tar.gz}}*Be aware that you may have to adjust the above code to match the file name you downloaded. Copy all of the ".jar" files in the /lib of the downloaded file to the classpath directory you created.Download Guacamole's authorization module
{{Code|
Code = cp -r sudo wget http://sourceforge.net/projects/whereeverguacamole/youfiles/downloadedcurrent/itextensions/guacamole-auth-mysqljdbc-0.89.9.0/lib/*tar.jar /var/lib/guacamole/classpathgz
}}
You need one more ".jar" file (MySQL ConnectorUnpack it{{Code|Code = sudo tar -J)that is not included in the zxf guacamole-auth-mysql modulejdbc-0. You can get it here: http://dev9.9.mysqltar.com/downloads/connector/j/gz}}
Move to the directory containing the download Download MySQL and unpack the downloadJava Connector{{Code|Code = sudo wget http://dev.mysql.com/get/Downloads/Connector/j/mysql-connector-java-5.1.38.tar.gz}}
Unpack it{{Code|Code = # sudo tar -xzf zxf mysql-connector-java-5.1.2538.tar.gz}}*Be aware that you may have to adjust the above code to match the file name you downloaded.
Create directories for the extensions in Tomcat's folders
{{Code|
Code = sudo mkdir -p /usr/share/tomcat/.guacamole/{extensions,lib}
}}
Copy Move the modules to their respective directories.{{Code|Code = sudo mv guacamole-auth-jdbc-0.9.9/mysql/guacamole-connectorauth-javajdbc-mysql-50.19.23-bin9.jar to the classpath directory you created/usr/share/tomcat/.guacamole/extensions/}}
{{Code|
Code = cp -r /whereever/you/downloaded/it/sudo mv mysql-connector-java-5.1.2538/mysql-connector-java-5.1.2338-bin.jar /varusr/libshare/tomcat/.guacamole/classpathlib/
}}
Restart MariaDB
{{Code| Code = sudo systemctl restart mariadb.service}}
==== Making the MySQL Tables ====