摘要: 报错:Cannot create PoolableConnectionFactory (The server time zone value 'CST' is unrecognized or represents more than one time zone. You must configure 阅读全文
posted @ 2019-04-11 23:09 占卜者 阅读(1824) 评论(0) 推荐(0) 编辑
摘要: 当天 select * from 表名 where to_days(时间字段名) = to_days(now()); 昨天 SELECT * FROM 表名 WHERE TO_DAYS( NOW( ) ) - TO_DAYS( 时间字段名) <= 1 7天 SELECT * FROM 表名 wher 阅读全文
posted @ 2019-04-11 18:20 占卜者 阅读(4498) 评论(0) 推荐(0) 编辑