会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
day959
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
···
9
下一页
2022年4月2日
mysql卡顿问题排查
摘要: td系统反馈非常卡 查看服务器cpu和内存,发现都很低 查看mysql,show processlist; 发现有大量睡眠连接 重启服务器后系统访问正常,大约30秒后又重新卡顿 解决方法: 修改/etc/my.cnf,增加设置 wait_timeout=30interactive_timeout=3
阅读全文
posted @ 2022-04-02 16:19 day959
阅读(518)
评论(0)
推荐(0)
2022年3月4日
mysql 5.7报错3065:Expression #1 of ORDER BY clause is not in SELECT list
摘要: 修改mysql配置文件 /etc/my.cnf 在最后面追加 [mysqld]sql_mode =STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_EN
阅读全文
posted @ 2022-03-04 15:37 day959
阅读(576)
评论(0)
推荐(0)
2022年1月13日
mysqldump导入超大sql文件
摘要: 在my.cnf文件中添加或者修改以下两个变量:wait_timeout=2880000 interactive_timeout = 2880000 在my.cnf文件中添加或者修改以下变量:max_allowed_packet = 10M(可设置自己需要的大小) 参考资料: https://blog
阅读全文
posted @ 2022-01-13 22:39 day959
阅读(252)
评论(0)
推荐(0)
使用scp命令往远程服务器传输文件
摘要: scp -r 文件名/目录名 root@192.168.2.144:/home/hsw
阅读全文
posted @ 2022-01-13 14:14 day959
阅读(86)
评论(0)
推荐(0)
2021年12月18日
Git常用命令
摘要: 一、生成 SSH Key ssh-keygen -t rsa -C "youremail@example.com" 二、查看本地配置 git config --list 二、设置用户名 git config --global user.name ‘yourname’ 二、设置用户名邮箱 git co
阅读全文
posted @ 2021-12-18 14:33 day959
阅读(17)
评论(0)
推荐(0)
2021年12月2日
CentOS安装ffmpeg
摘要: 1、安装ffmpeg时需要提前安装yasm插件; (1)wget http://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz (2)tar -xvf yasm-1.3.0.tar.gz (3)cd yasm-1.3.0/ (4)./
阅读全文
posted @ 2021-12-02 16:55 day959
阅读(545)
评论(0)
推荐(0)
2021年11月29日
docker常用命令
摘要: docker安装:https://www.runoob.com/docker/centos-docker-install.html yum-config-manager --add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docke
阅读全文
posted @ 2021-11-29 06:48 day959
阅读(69)
评论(0)
推荐(0)
2021年11月26日
升级lnmp步骤
摘要: 注意:PHP版本升级到php7+有风险,注意程序的兼容性! 一、备份程序、数据库! 二、备份php.ini、php已加载的组件、msyql的var目录、mysql配置文件my.cnf、nginx的vhost和nginx.cnf和nginx日志;(查看原php.ini安装了哪些组件,禁用了哪些函数)
阅读全文
posted @ 2021-11-26 00:18 day959
阅读(222)
评论(0)
推荐(0)
2021年11月2日
Expression #1 of ORDER BY clause is not in SELECT list, references column 'xxxx' which is not in SELECT list; this is incompatible with DISTINCT
摘要: mysql升级到5.7.31后,访问系统报错; 解决办法: 修改/etc/my.cnf 文件底部追加: [mysqld] sql_mode=STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_A
阅读全文
posted @ 2021-11-02 15:27 day959
阅读(880)
评论(0)
推荐(0)
2021年10月31日
centos6.5安装lnmp1.8
摘要: 1、确定/etc/yum.repos.d/下镜像源是否正确 (1)CentOS-Base.repo改成阿里云的vault源 (2)epel源如果不正确就删除 yum clean all && yum makecache 2、安装libicu-devel,执行命令yum install libicu-
阅读全文
posted @ 2021-10-31 03:08 day959
阅读(70)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
···
9
下一页
公告