MySQL 查询时,报如下错:Query execution was interrupted, maximum statement execution time exceeded 查询数据库最大语句执行时间,默认为10s,单位是毫秒 SELECT @@global.max_execution_tim ...
分类:
数据库 时间:
2021-06-21 20:46:21
阅读次数:
0
日志文件丢失有以下几种可能性 1:日志正在记录的时候,手动修改了/var/log/messages 2: 存储设备异常,系统无法将日志写入到/var/log/messages中 3:突然有大量日志写入,并提示 begin to drop messages due to rate-limiting 1 ...
分类:
其他好文 时间:
2021-06-21 20:43:49
阅读次数:
0
VUe2.0 和 Vue3.0 的生命周期作对比 beforeCreate -> 请使用 setup() created -> 请使用 setup() beforeMount -> onBeforeMount mounted -> onMounted beforeUpdate -> onBefore ...
分类:
其他好文 时间:
2021-06-21 20:37:32
阅读次数:
0
前言 我总是在git提交的时候,遇到一些奇奇怪怪的问题。有时候居然还会碰上第二次。 记住这些“绊脚石”,下回不摔跤。 目录 git index损坏 一、git index损坏 报错信息:D:\Fanniegirl>git status error: bad signature 0x00000000 ...
分类:
其他好文 时间:
2021-06-21 20:37:13
阅读次数:
0
#include<stdio.h> #include<stdlib.h> #define OK 1 #define Error 0 typedef int Status; //栈 typedef struct StackNode { int data; struct StackNode *next; ...
分类:
其他好文 时间:
2021-06-21 20:35:07
阅读次数:
0
// break 结束整个循环 // continue 跳过当前循环 (跳过一次循环,后面会继续) // break 可以在循环和switch语句中使用 // continue 只能在循环中使用 // break 结束整个switch语句 // for (var i = 0; i < 10; i++ ...
分类:
其他好文 时间:
2021-06-21 20:23:04
阅读次数:
0
通过定时器实现间隔一秒输出1,在间隔一秒输出2 第一种通过定时器方式实现这个需求 setTimeout(()=>{ console.log(1); setTimeout(()=>{ console.log(2); },1000) },1000) 另一种通过promise来实现 let promise ...
分类:
其他好文 时间:
2021-06-21 20:07:56
阅读次数:
0
Linux 平台安装 Nginx 1.20 该博客中使?的系统为 CentOS 7 Linux 发?版 系统版本详情: Linux centos7-shanghai 3.10.0-1160.25.1.el7.x86_64 #1 SMP Wed Apr 28 21:49:45 UTC 2021 x86 ...
分类:
系统相关 时间:
2021-06-21 19:54:00
阅读次数:
0
第八章 日志管理 一日志文件对于诊断和解决系统中的问题很有帮助,因为Linux内核和运行迚程通常会把系统消息和错误消息写入相应的日志文件,默认日志文件存储在/var/log目录中,日志内容可用于系统审计和故障排除。RHEL 7的日志系统基于syslog协议,许多程序使用此系统记录事件,并将记录消息整 ...
分类:
其他好文 时间:
2021-06-20 18:30:34
阅读次数:
0
首先检查Nginx是否启动成功 [root@web1 extra]# ps aux|grep nginx (一切正常)root 3269 0.0 0.1 46764 1464 ? Ss 09:34 0:00 nginx: master process nginx -c /application/ng ...
分类:
其他好文 时间:
2021-06-20 18:09:23
阅读次数:
0