Mysql时区无法识别
2024-10-18 13:15:10
Unable to connect to database. Tried 1 times {:error_message=>“Java::JavaSql::SQLException: The server time zone value ‘脰脨鹿煤卤锚脳录脢卤录盲’ is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the serverTimezone configuration property) to use a more specifc time zone value if you want to utilize time zone support.”}
原因:Mysql版本问题。
解决:配置数据库的url时候一定要把serverTimezone=UTC加上。
转自:https://blog.csdn.net/u012976879/article/details/85261036
侵删。
最新文章
- ceil 模块
- ffmbc——广播电视以及专业用途量身定制的FFmpeg
- Quartz定时调度配置
- json 对象 数组
- andriod 资源文件之存取操作
- 17082 两个有序数序列中找第k小
- [Leetcode] Wildcard Matching
- Asp.Net MVC 路由 - Asp.Net 编程 - 张子阳
- Delphi同步互斥总结
- 30个实用的Linux find命令
- 如何自学java迅速成为java高手
- TI-RTOS 之 事件同步(Event, 类似semaphore)
- python利用opencv合成模糊图像
- Android studio中导入SlidingMenu问题
- Java语法基础学习DayEighteen(常用类)
- Word中带圈数字
- SQLite 学习笔记(一)
- ORACLE-016:ora-01720 授权选项对于'xxxx'不存在
- 性能测试工具——Mxdperfstat
- ibatis Dynamic总结(ibatis使用安全的拼接语句,动态查询)