Mysql 5.1.36 以上

如果想用mysql连接驱动包5.1.36以上版本的兄弟,请先执行以下SQL
SELECT
@@SESSION .auto_increment_increment,
@@character_set_client,
@@character_set_connection,
@@character_set_results,
@@character_set_server,
@@init_connect,
@@interactive_timeout,
@@LANGUAGE,
@@license,
@@lower_case_table_names,
@@max_allowed_packet,
@@net_buffer_length,
@@net_write_timeout,
@@query_cache_size,
@@query_cache_type,
@@sql_mode,
@@system_time_zone,
@@time_zone,
@@tx_isolation,
@@wait_timeout
请注意@@LANGUAGE。
如果执行不通过,千万不要用5.1.36级以上版本。
别问我怎么知道的,让我哭会去。。。。

原文地址:https://www.cnblogs.com/myIcarus/p/4838065.html