提交 23e9c964 编写于 作者: S Serge Rider

Merge remote-tracking branch 'origin/devel' into devel


Former-commit-id: ce15fea5
......@@ -65,6 +65,11 @@ public class MySQLDataSourceProvider extends JDBCDataSourceProvider implements D
// Set utf-8 as default charset
connectionsProps.put("characterEncoding", GeneralUtils.UTF8_ENCODING);
connectionsProps.put("tinyInt1isBit", "false");
// Tell MySQL to use the (typically longer) interactive_timeout variable as the connection timeout
// instead of wait_timeout.
// This longer timeout is for connections directly in use by a human, who'd prefer MySQL not
// kill their connection while they were on a coffee break.
connectionsProps.put("interactiveClient", "true");
// Auth plugins
// connectionsProps.put("authenticationPlugins",
// "com.mysql.jdbc.authentication.MysqlClearPasswordPlugin," +
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册