问题: zabbix server web 端显示Received empty response from Zabbix Agent at [xxx]. Assuming that agent dropped connection because of access permission. agen ...
分类:
数据库 时间:
2020-05-14 13:35:00
阅读次数:
155
记录一下Nginx代理WebSocket的配置 1 添加协议升级 在http模块添加协议升级配置 该配置用于将http协议升级为websocket协议 map说明:根据客户端请求中$http_upgrade的值,设定$connection_upgrade的值。 内容是设定规则。即$connectio ...
分类:
Web程序 时间:
2020-05-14 11:17:43
阅读次数:
277
错误分析: 数据库连接已经关闭或者失效后仍然在执行操作,导致:mysql服务没返回数据 1.客户端连接池中连接,已经失效;但是:连接池还没有检测到;当操作数据库时,启用该连接,抛出该错误 2.mysql服务器,已关闭该连接,但:客户端连接池中该连接,尚未检测到。当用该连接操作数据库时,抛出该错。处理 ...
分类:
数据库 时间:
2020-05-14 11:14:18
阅读次数:
107
JDBC:操作所有关系型数据库的规则,即接口;各个数据库厂商去实现接口提供所谓的驱动jar 1:导入jar包 2:注册驱动 3:获取数据库连接对象Connection 4: 定义Sql 5: 获取Statement对象 6 执行sql接收返回结果 resultset 7:释放资源 package c ...
分类:
数据库 时间:
2020-05-14 10:53:59
阅读次数:
62
P2949 [USACO09OPEN]Work Scheduling G 题目描述 Farmer John has so very many jobs to do! In order to run the farm efficiently, he must make money on the job ...
分类:
其他好文 时间:
2020-05-14 01:53:04
阅读次数:
115
①导入需要的jar包和配置文件 ②辅助类 1 package com.yxfyg.util; 2 3 import java.sql.Connection; 4 5 import java.sql.ResultSet; 6 import java.sql.SQLException; 7 import ...
分类:
数据库 时间:
2020-05-13 17:21:18
阅读次数:
76
Description Given two sorted integer arrays A and B, merge B into A as one sorted array. You may assume that A has enough space (size that is greater ...
分类:
其他好文 时间:
2020-05-13 12:04:16
阅读次数:
68
When does a C# Task actually start? Calling an async method returns a hot task, a task that has already been started. So there is no actual code neces ...
这是由于设置了代理,现在代理不可用了,可以运行下面的语句查看一下 $ git config --global http.proxy 会输出配置代理的信息 然后输入下面的语句重置一下就好了 $ git config --global --unset http.proxy ...
分类:
数据库 时间:
2020-05-12 15:23:45
阅读次数:
88
题目 Suppose a bank has K windows open for service. There is a yellow line in front of the windows which devides the waiting area into two parts. All th ...
分类:
其他好文 时间:
2020-05-12 14:14:19
阅读次数:
70