09 2021 档案
摘要:无法连接数据库 原因是数据库连接数满 最大100 show variables like '%max_connect_errors...
阅读全文
摘要:0 0/10 * * * 0 */10 * * * 0代表从0分开始,*代表任意字符,/代表递增 从20:21开始执行上面两种定时器...
阅读全文
摘要:连接服务 jdbc:oracle:thin:@//:/ServiceName 连接实例SID jdbc:oracle:thin:@:...
阅读全文
摘要:查看oracle 版本 select * FROM v$version 查看mysql版本 mysql> select versi...
阅读全文
摘要:[root@host1 nginx]# #查看内存总数[root@host1 nginx]# cat /proc/meminfo |...
阅读全文
查询hive报错 SQL 错误 [40000] [42000]: COMPILE FAILED: Parse error: [Error 40000] line 1:8 cannot recogniz
摘要:hive空值判断:如果为null,取"",否则取其值 select if(column_test is null, "", colu...
阅读全文
摘要:应用用户安装nginx之后,被其他用户公用,并且使用的是root用户,导致proxy_temp目录没有写入权限,导致页面打不开 临时...
阅读全文
摘要:information_schema 数据库跟 performance_schema 一样,都是 MySQL 自带的信息数据库。其中...
阅读全文
摘要:右键项目 选择 workspace default jre
阅读全文
摘要:date命令(系统自带): date -s yyyymmdd date -s HH:MM:SS ntpdate命令: ntpdate...
阅读全文
摘要:宽表和窄表 简单快速获取进程ID的命令 pgrep -f processname pkill -f processname #杀掉...
阅读全文
摘要:eclipse控制台乱码 maven编译,测试类打印出的中文乱码,项目和工作空间编码都是UTF-8,通过设置GBK编码可以解决,其实...
阅读全文
摘要:20210831记录 1.设置更新时间字段自动更新为当前时间未生效2. 数据库存的时间没问题,返回到前端时间不对比数据库早了八小时...
阅读全文
摘要:截取memory_usage字段中的小数值 并计算平均百分比 表数据1.截取1.1 substring_index(关键字的索引开...
阅读全文

浙公网安备 33010602011771号