- 博客(6)
- 收藏
- 关注
原创 ubantu配置安装源
gedit /etc/apt/sources.list在最下面添加下面内容deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ hirsute main restricted universe multiverse# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ hirsute main restricted universe multiversedeb https://mirrors.t
2022-01-14 16:03:10
870
原创 centos7配置yum源
wget-O/etc/yum.repos.d/epel.repohttp://mirrors.aliyun.com/repo/epel-7.repo 下载epel源wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo 阿里镜像源
2022-01-13 10:10:12
471
原创 mysql遇见Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggre的问题
问题出现的原因:MySQL 5.7.5及以上功能依赖检测功能。如果启用了ONLY_FULL_GROUP_BY SQL模式(默认情况下),MySQL将拒绝选择列表,HAVING条件或ORDER BY列表的查询引用在GROUP BY子句中既未命名的非集合列,也不在功能上依赖于它们。(5.7.5之前,MySQL没有检测到功能依赖关系,默认情况下不启用ONLY_FULL_GROUP_BY。有关5.7.5之前的行为的说明,请参见“MySQL 5.6参考手册”。)解决方法一:打开navcat,用sql查询.
2021-08-20 16:09:23
1384
原创 阿里云oss上传脚本
#!/bin/bashENDPOINT="oss-cn-hangzhou-internal.aliyuncs.com"KEYIP="LTAI5tA56PoeV79wMf8YSd6C"KEYSECRET="3SP1CXEhUcHIWFUH4PlHt6QmPk0STq"OOS='yundailogs/newlog/' #你要上传的oss目录logpath="/root/logs1" #你要上传的文件目录,不要加斜杠结束logFile=$logpath.tar....
2021-08-13 13:48:21
963
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人