![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
mysql
Reeye_
abc
展开
-
Linux安装MySQL(安装包方式)
欢迎使用Markdown编辑器写博客系统: Ubuntu 16.04 LTS MySQL版本: 5.7.19 MySQL下载地址: 官方地址一. 建立用户 建立用户mysql,组mysql # groupadd mysql # useradd -r -g mysql mysql 二. 解压并安装 进入到下载好的安装包所在目录, 解压文件到 /usr/local 下 # tar zxvf原创 2017-09-18 04:07:26 · 1962 阅读 · 1 评论 -
[MySQL]获取当月每一天
常用使用场景: 统计某个月(某个时间区间)内每一天的数据量 select date_add(curdate(), interval(cast(help_topic_id as signed integer) - 1) day) day from mysql.help_topic where help_topic_id < day(last_day(curdate())) order ...原创 2018-11-02 14:57:50 · 6085 阅读 · 5 评论