r2dbc-mysql icon indicating copy to clipboard operation
r2dbc-mysql copied to clipboard

How to pass sessionVariables

Open MarkusKramer opened this issue 4 years ago • 0 comments

With the JDBC mysql driver I can specify session variables like this

jdbc:mysql://${db.host}:${db.port}/${db.database}?sessionVariables=sql_mode=ANSI_QUOTES

However

r2dbcs:mysql://${db.host}:${db.port}/${db.database}?sessionVariables=sql_mode=ANSI_QUOTES

doesn't switch the session to ANSI mode. Can this be done with r2dbc-mysql?

MarkusKramer avatar Aug 12 '21 17:08 MarkusKramer