mirror of
				https://github.com/gyurix1968/guacamole-client.git
				synced 2025-10-31 00:53:21 +00:00 
			
		
		
		
	GUAC-618: Add ping query via connection properties.
This commit is contained in:
		| @@ -116,6 +116,8 @@ public class MySQLAuthenticationProvider implements AuthenticationProvider { | ||||
|         myBatisProperties.setProperty("JDBC.username", GuacamoleProperties.getRequiredProperty(MySQLGuacamoleProperties.MYSQL_USERNAME)); | ||||
|         myBatisProperties.setProperty("JDBC.password", GuacamoleProperties.getRequiredProperty(MySQLGuacamoleProperties.MYSQL_PASSWORD)); | ||||
|         myBatisProperties.setProperty("JDBC.autoCommit", "false"); | ||||
|         myBatisProperties.setProperty("mybatis.pooled.pingEnabled", "true"); | ||||
|         myBatisProperties.setProperty("mybatis.pooled.pingQuery", "SELECT 1"); | ||||
|         driverProperties.setProperty("characterEncoding","UTF-8"); | ||||
|  | ||||
|         // Set up Guice injector. | ||||
|   | ||||
		Reference in New Issue
	
	Block a user