We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Im trying to configure allowPublicKeyRetrieval=true via options in version 1.1.3 but this does not seem to work.
When creating the ConnectionFactory with
ConnectionFactory
val options = ConnectionFactoryOptions.builder() .option(ConnectionFactoryOptions.DRIVER, "mariadb") .option(ConnectionFactoryOptions.HOST, "localhost") .option(ConnectionFactoryOptions.PORT, 63426) .option(ConnectionFactoryOptions.DATABASE, "my_database") .option(ConnectionFactoryOptions.USER, "test") .option(ConnectionFactoryOptions.PASSWORD, "password") .option(Option.valueOf("allowPublicKeyRetrieval"), true) .build() val connectionFactory = ConnectionFactories.find(options) println(connectionFactory.toString())
the following configuration is printed where allowPublicKeyRetrieval is not set correctly.
allowPublicKeyRetrieval
MariadbConnectionFactory{configuration=MariadbConnectionConfiguration{database='LOANS_SERVICE', hosts={[localhost:63426]}, connectTimeout=PT10S, tcpKeepAlive=false, tcpAbortiveClose=false, transactionReplay=false, password=*, prepareCacheSize=250, socket='null', username='test', allowMultiQueries=false, allowPipelining=true, connectionAttributes=null, sessionVariables=null, sslConfig=SslConfig{sslMode=DISABLE, serverSslCert=null, clientSslCert=null, tlsProtocol=null, clientSslKey=null}, rsaPublicKey='null', cachingRsaPublicKey='null', allowPublicKeyRetrieval=false, isolationLevel=null, useServerPrepStmts=false, autocommit=true, tinyInt1isBit=true, pamOtherPwd=, restrictedAuth=null}}
It seems that this option is not taken into account in MariadbConnectionConfiguration::fromOptions
The text was updated successfully, but these errors were encountered:
[R2DBC-81] missing option automatic setting by connection String / Co…
67b591b
…nnectionFactoryOptions builder #59
will be corrected in 1.1.4
Sorry, something went wrong.
No branches or pull requests
Im trying to configure allowPublicKeyRetrieval=true via options in version 1.1.3 but this does not seem to work.
When creating the
ConnectionFactorywiththe following configuration is printed where
allowPublicKeyRetrievalis not set correctly.MariadbConnectionFactory{configuration=MariadbConnectionConfiguration{database='LOANS_SERVICE', hosts={[localhost:63426]}, connectTimeout=PT10S, tcpKeepAlive=false, tcpAbortiveClose=false, transactionReplay=false, password=*, prepareCacheSize=250, socket='null', username='test', allowMultiQueries=false, allowPipelining=true, connectionAttributes=null, sessionVariables=null, sslConfig=SslConfig{sslMode=DISABLE, serverSslCert=null, clientSslCert=null, tlsProtocol=null, clientSslKey=null}, rsaPublicKey='null', cachingRsaPublicKey='null', allowPublicKeyRetrieval=false, isolationLevel=null, useServerPrepStmts=false, autocommit=true, tinyInt1isBit=true, pamOtherPwd=, restrictedAuth=null}}
It seems that this option is not taken into account in MariadbConnectionConfiguration::fromOptions
The text was updated successfully, but these errors were encountered: