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
When playing MySQL Shell with this library (e.g., loading a MySQL dump), one of the obstacles I encountered is that mysqlsh sends lowercase SET sql_mode statement, which is not supported by go-mysql-server. This issue can be reproduced with the built-in example:
cd _example
go run .
mysql -h127.0.0.1-uroot -P3306;
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 1
Server version: 8.0.33 Dolt
Copyright (c) 2000, 2022, Oracle and/or its affiliates.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;'or'\h' for help. Type '\c' to clear the current input statement.
mysql>set sql_mode ='no_auto_value_on_zero';
ERROR 1105 (HY000): value no_auto_value_on_zero was not found in the set
mysql>set sql_mode ='NO_AUTO_VALUE_ON_ZERO';
Query OK, 1 row affected (0.00 sec)
The text was updated successfully, but these errors were encountered:
When playing MySQL Shell with this library (e.g., loading a MySQL dump), one of the obstacles I encountered is that
mysqlsh
sends lowercaseSET sql_mode
statement, which is not supported bygo-mysql-server
. This issue can be reproduced with the built-in example:The text was updated successfully, but these errors were encountered: