JDBC driver for MySQL连接提示"The connection property 'zeroDateTimeBehavior' acceptable values are: 'CONVERT_TO_NULL', 'EXCEPTION' or 'ROUND'. The value 'convertToNull' is not acceptable."解决方案
2018-09-13 13:34
916 查看
1、使用了8.0以上版本的JDBC driver for MySQL,降回5.x版本。
2、不对JDBC driver for MySQL降级。修改数据库连接字符串,添加serverTimezone属性。例如:
zeroDateTimeBehavior=convertToNull&serverTimezone=UTC
相关文章推荐
- jdbc连接mysql时报message from server: "Host '**' is not allowed to connect to this MySQL server"错误解决
- mysql连接提示"Host 'XXX' is not allowed to connect to this MySql server"
- 安装Visual Studio 2010时提示"The location specified for the help content store is invalid or you do not have access to it".
- 远程连接MYSQL提示Host is not allowed to connect to this MySQL server
- 远程连接MYSQL提示Host is not allowed to connect to this MySQL server(转)
- mysql连接提示“登录出现1130 is not allowed to connect to this MySql server,解决方法
- 远程连接MYSQL提示Host is not allowed to connect to this MySQL server
- 远程连接mysql时,提示“is not allowed to connect to this MySQL server”的解决方法
- Sqoop-1.4.6配置连接mysql提示ERROR 1130: Host '192.168.1.3' is not allowed to connect to this MySQL server
- 连接MySQL数据库报 "Host XXX.XXX.XXX.XXX is not allowed to connect to this MySQL server " 解决办法。
- 远程连接MYSQL提示:Host XXX is not allowed to connect to this MySQL server 解决办法
- 大牛初步之kettle连接mysql的奇葩错误: message from server: "Host 'PCXX‘ is not allowed to connect to this MySQL s
- 使用TOMCAT5.5连接池连接mysql(解决Cannot create JDBC driver of class '' for connect URL 'null' 及can not load org.gjt.mm.mysql.Driver)
- mysql连接linux系统提示“登录出现1130 is not allowed to connect to this MySql server”问题,解决方法
- 远程连接MYSQL提示 Host *** is not allowed to connect to this MySQL server
- mysql连接权限问题 Host 'XXX' is not allowed to connect to this MySQL server 解决方案/如何开启MySQL的远程帐号
- mysql连接linux系统提示“登录出现1130 is not allowed to connect to this MySql server”问题,解决方法
- eclipese连接MySQL出错“Class.forName("com.mysql.jdbc.Driver")”问题解决
- ***远程连接MYSQL提示Host is not allowed to connect to this MySQL server
- 远程连接MYSQL提示Host is not allowed to connect to this MySQL server(...