Mysql
weixin_43867432
这个作者很懒,什么都没留下…
展开
-
Mysql 分组查询 无法正常执行 [记录]
set sql_mode ='STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION';原创 2021-03-18 14:05:58 · 53 阅读 · 0 评论 -
SpringBoot + Mybatis-Plus mysql多数据源 + mongodb 多数据源 [备忘]
ymlmybatis-plus: configuration: log-impl: org.apache.ibatis.logging.stdout.StdOutImpl mapper-locations: classpath:mapping/*.xml global-config: refresh-mapper: truespring: profiles: active: dev datasource: dynamic: prima.原创 2021-03-03 09:56:19 · 2193 阅读 · 0 评论 -
[Mysql] 日期函数
CURDATE() 当天 不含时分秒 12-11-12DATE_SUB(时间,INTERVAL 1 DAY ) 表示该时间后退一天 可选参数 WEEK MONTH YEARDATE_FORMAT(时间,你需要的时间格式) 表示转化为你需要的时间格式原创 2020-12-23 15:19:41 · 53 阅读 · 0 评论 -
数据库登录 2003错误
权限不够 用系统管理员登录修改my.cnf 加入跳过登录2.1. 然后修改权限 放开ip和端口登录4.2. 刷新权限原创 2020-07-02 20:50:40 · 241 阅读 · 0 评论