You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I try to connect to MariaDB and set sql_mode for the session using a connection string. Because I want to be provider independent I use factory classes to create the connection like so.
var connectionUrl= "r2dbc:mariadb://admin:pass@localhost:3306/dbname?sessionVariables=sql_mode='ANSI'";
var factoryOptions = ConnectionFactoryOptions.parse(connectionUrl);
var connectionFactory = ConnectionFactories.get(factoryOptions);
Internally MariadbConnectionConfiguration.fromOptions(factoryOptions) is used which do not handle sessionVariables.
The text was updated successfully, but these errors were encountered:
I try to connect to MariaDB and set sql_mode for the session using a connection string. Because I want to be provider independent I use factory classes to create the connection like so.
Internally
MariadbConnectionConfiguration.fromOptions(factoryOptions)is used which do not handle sessionVariables.The text was updated successfully, but these errors were encountered: