因为最近发现在网上查找资料的时候,总会因为版本不一样造成各种问题,所以以后的所有文章都会注明使用版本。本次使用的是MySQL数据库5.6.28版本 安装过程省略,在安装结束后会有这么一段提示 A RANDOM PASSWORD HAS BEEN SET FOR THE MySQL root USER ...
分类:
数据库 时间:
2020-07-04 18:37:29
阅读次数:
67
Nodejs官网下载安装包,按指引安装: This package has installed: * Node.js v14.3.0 to /usr/local/bin/node * npm v6.14.5 to /usr/local/bin/8pm Make sure that /usr/loca ...
分类:
Web程序 时间:
2020-07-04 17:23:20
阅读次数:
82
报错自查# 1、 HttpConnectionPool: # 原因: 1、短时间内发起了高频的请求导致IP被禁 # 2、http连接池中的连接资源被耗尽 # 解决: # 1、 使用代理服务器 # 2、headers中加入 Connection: 'close'# 2、代理:代理服务器,可以接受请求将... ...
分类:
其他好文 时间:
2020-07-04 15:01:01
阅读次数:
59
1.首先去阿里云购买个证书,也有免费的,但是免费的只能使用一年,证书需要绑定域名 2.将证书放进项目 3.配置YML server: ssl: key-store: 55555.pfx key-store-password: 55555 keyStoreType: PKCS12 connection ...
分类:
编程语言 时间:
2020-07-04 11:55:50
阅读次数:
94
AttributeError: module ‘tensorflow‘ has no attribute ‘compat‘
分类:
其他好文 时间:
2020-07-04 09:17:23
阅读次数:
193
[2020-07-03T15:18:23,147][WARN ][o.e.c.c.ClusterFormationFailureHelper] [localhost.localdomain] master not discovered yet, this node has not previousl ...
分类:
其他好文 时间:
2020-07-03 23:12:49
阅读次数:
580
连接池 连接池主要是用来管理 Connection 对象,减少创建的时候消耗性能,然后还可以重复使用它。当你在使用的时候,如果说访问量激增时,有可能需要等待一定的时间,因为 cpu 会将空闲下来的 Connection 拿来使用,当你使用完了之后,还需要归还到连接池中,让下一个访问者来继续使用 Ja ...
分类:
数据库 时间:
2020-07-03 21:26:32
阅读次数:
80
import java.sql.*; /** JDBC工具类 */ public class JdbcUtil { /** * 获取数据库连接对象并返回 * * @return Connection对象 * @throws Exception */ public static Connection ...
分类:
数据库 时间:
2020-07-03 21:23:12
阅读次数:
76
A bus has n stops numbered from 0 to n - 1 that form a circle. We know the distance between all pairs of neighboring stops where distance[i] is the di ...
分类:
其他好文 时间:
2020-07-03 19:42:49
阅读次数:
68
控制器中关键代码如下: // 查询状态为1的用户数据 并且每页显示10条数据 $list = Db::name('user')->where('status',1)->paginate(10); // 把分页数据赋值给模板变量list $this->assign('list', $list); // ...
分类:
其他好文 时间:
2020-07-03 17:11:12
阅读次数:
131