add the environment variable 

MYSQL_ENABLED: "true"

via Smartphone

> Am 13.10.2025 um 16:19 schrieb Tony Guadagno 
> <[email protected]>:
> 
> 
> Hi, I am new to guacamole and docker so sorry if this is an easy one…but I am 
> trying to use guacd/guacamole official docker containers with a native 
> mariadb install.  I am starting the guacamole instance this way:
>  
> docker run --network=guac-network --name lnb-guacamole -e 
> MYSQL_HOSTNAME="172.18.0.1" -e MYSQL_DATABASE="guacamole_db" -e 
> MYSQL_USERNAME="guacamole_user" -e MYSQL_SSL_MODE="disabled" -e 
> MYSQL_SERVER_TIMEZONE="America/New_York" -e LOG_LEVEL="debug" -e 
> MYSQL_DRIVER="mariadb" -e MYSQL_PASSWORD="pw" -e GUACD_HOSTNAME="lnb-guacd" 
> -d -p 8080:8080 guacamole/guacamole
>  
>  
> I thought I read that guacamole natively supports Mariadb but I guacamole is 
> throwing errors and I see this in the logs:
> Caused by: java.lang.ClassNotFoundException: org.mariadb.jdbc.Driver
>         at 
> java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:445)
>         at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:593)
>         at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:526)
>  
>  
> so it looks like the jdbc driver is not included in the container???
>  
> How do I include the mariadb jdbc driver in the container?
>  
> Thanks in advance
>  
> Tony
>  

Reply via email to