![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数据库之mysql
星澄码帝
生活不易,祝你每天开开心心。
展开
-
根据年月日查询mysql的时间戳(timestamp)的处理方法
有的时候我们想查询数据的创建时间,也可以理解为用户的注册时间来查询数据,因为一般创建时间都会timestamp类型,所以根据年月日的日期是无法查询到的,所以我们需要转换格式查询,下面就看具体的操作吧。这是我表的数据。这是我的查询语句。完全查询不到的。下面我们就要根据时间戳来转换格式查询。可以看到使用格式转换之后就能匹配到查询的数据格式了。版权声明:觉得此文有用的,请您点个赞,如果有自己想法,可以在...原创 2018-07-13 15:17:40 · 27184 阅读 · 3 评论 -
You must configure either the server or JDBC driver (via the serverTimezone configuration property)
java.sql.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 con...原创 2018-09-14 11:40:07 · 7097 阅读 · 0 评论 -
You need either to explicitly disable SSL by setting useSSL=false 红色警告
asd原创 2018-09-14 11:49:50 · 3053 阅读 · 0 评论