Closed krishmanoh closed 5 years ago
Is it working without interpreter_mode='interpret_first'
?
Try:
"jdbc:mysql://172.32.10.5:3306/crud_demo_ad?jdbcCompliantTruncation=false&maxAllowedPacket=1024000&sessionVariables=sql_mode='STRICT_TRANS_TABLES,PIPES_AS_CONCAT'", "root", "xxxx");
Yes, it does.
interpreter_mode is parameter of MemSQL and not MySQL
Does proxysql validate the session variables before passing it to the database?
Closing. Thank you @yakirgb for the help
This is correct, not sure why proxysql fails to handle it. It works fine with a single session variable.
proxysql --version ProxySQL version 1.4.9-percona-1.1, codename Truls
This happens when using as part of jdbc url - this works when connecting directly to mysql.
"jdbc:mysql://172.32.10.5:3306/crud_demo_ad?jdbcCompliantTruncation=false&maxAllowedPacket=1024000&sessionVariables=sql_mode='STRICT_TRANS_TABLES,PIPES_AS_CONCAT',interpreter_mode='interpret_first'", "root", "xxxx");