question: public MySQLAuthenticationProviderModule ( MySQLEnvironment environment ) throws GuacamoleException { myBatisProperties . setProperty ( "mybatis.environment.id" , "guacamole" ) ; myBatisProperties . setProperty ( "JDBC.host" , environment . getMySQLHostname ( ) ) ; myBatisProperties . setProperty ( "JDBC.port" , String . valueOf ( environment . getMySQLPort ( ) ) ) ; myBatisProperties . setProperty ( "JDBC.schema" , environment . getMySQLDatabase ( ) ) ; myBatisProperties . setProperty ( "JDBC.username" , environment . getMySQLUsername ( ) ) ; myBatisProperties . setProperty ( "JDBC.password" , environment . getMySQLPassword ( ) ) ; myBatisProperties . setProperty ( "JDBC.autoCommit" , "false" ) ; myBatisProperties . setProperty ( "mybatis.pooled.pingEnabled" , "true" ) ; myBatisProperties . setProperty ( "mybatis.pooled.pingQuery" , "SELECT 1" ) ; driverProperties . setProperty ( "characterEncoding" , "UTF-8" ) ; driverProperties . setProperty ( "allowMultiQueries" , "true" ) ; }
target:  Creates a new MySQL authentication provider module that configures driver and MyBatis properties using the given environment.