Hi,
Is there some trick to getting Guacamole to use the MariaDB java client?
We have a self-compiled guacamole-server 1.5.4 with the downloaded WAR
file.
In guacamole.properties
mysql-hostname: localhost
mysql-port: 3306
mysql-database: <db>
mysql-username: <user>
mysql-password: <secret>
mysql-driver: mariadb
In guacamole/lib/ we have
mariadb-java-client-3.3.3.jar
mysql-connector-j-8.0.32.jar
The database is mariadb-server.
If we set mysql-driver to "mysql" then everything works correctly.
However, if we set mysql-driver to "mariadb" then when we restart guacd
and tomcat and hit the login page we get an error
Feb 22 10:29:02 apps9 server[1916828]: 10:29:02.440
[http-nio-8080-exec-7] WARN o.a.g.e.AuthenticationProviderFacade - The
"mysql" authentication provider has encountered an internal error which
will halt the authentication process. If this is unexpected or you are
the developer of this authentication provider, you may wish to enable
debug-level logging. If this is expected and you wish to ignore such
failures in the future, please set "skip-if-un.......
Feb 22 10:29:02 apps9 server[1916828]: 10:29:02.443
[http-nio-8080-exec-7] ERROR o.a.g.rest.RESTExceptionMapper - Unexpected
internal error:
Feb 22 10:29:02 apps9 server[1916828]: ### Error querying database.
Cause: java.sql.SQLException: No suitable driver found for
jdbc:mysql://localhost:3306/<db>
Feb 22 10:29:02 apps9 server[1916828]: ### The error may exist in
org/apache/guacamole/auth/jdbc/user/UserMapper.xml
Feb 22 10:29:02 apps9 server[1916828]: ### The error may involve
org.apache.guacamole.auth.jdbc.user.UserMapper.selectOne
Feb 22 10:29:02 apps9 server[1916828]: ### The error occurred while
executing a query
Feb 22 10:29:02 apps9 server[1916828]: ### Cause: java.sql.SQLException:
No suitable driver found for jdbc:mysql://localhost:3306/<db>
Is the code looking for some particular name for the mariadb driver? Or
is there some other setting we are missing?
Thanks
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@guacamole.apache.org
For additional commands, e-mail: user-h...@guacamole.apache.org