ShardingTaskExecutorPoolMaxSize 1 Maximum number of outbound connections each TaskExecutor connection pool can open to any given mongod instance. 2 Th ...
分类:
其他好文 时间:
2020-02-29 20:11:47
阅读次数:
80
连接失败问题 使用postgres数据库连接工具测试,遇到两次失败 第一个登录失败问题 这语句翻译下,用户名密码是正确的,但是tcp/ip的连接失败了。这个解决方法其实就是去建立tcp/ip连接过程。 原因是宿主机并没有监听其他的主机接口,因此没有建立连接。 解决方法 第二个登录失败问题 这个问题也 ...
分类:
其他好文 时间:
2020-02-28 20:59:02
阅读次数:
195
今天打开虚拟机,使用 命令时,没有显示出 IP 地址 (更好的阅读体验可访问 "这里" ) 使用 命令查看网络状态 显示没有合适的网络装置 突然想起来前几天重装了系统,于是进入网络配置目录 查看 果然发现,此时的网卡配置文件 与之前的 ens32 对应不上。于是更新一下网卡配置文件 (注:修改时要对 ...
分类:
其他好文 时间:
2020-02-28 15:47:05
阅读次数:
210
功能 1.获取执行SQL的对象 方法:createStatement() 用于创建向数据库发送SQL语句的一个对象。修饰/返回值类型:Statement(声明) 方法:prepareStatement(String sql) 用于创建向数据库发送SQL语句的一个对象。修饰/返回值类型:Prepare ...
分类:
数据库 时间:
2020-02-28 14:03:30
阅读次数:
84
application.yml 添加后两行配置,增加连接池数量data: mongodb: host: *** database: *** port: 27017 username: *** password: *** authenticationDatabase: *** connections- ...
分类:
数据库 时间:
2020-02-28 01:40:29
阅读次数:
168
如果mysql连接报错Lost connection to MySQL server at 'sending authentication information', system error: 32 一种可能的原因是系统打开文件数过多 mac系统默认是256个,如果数据库打开文件过多,会因为系统限 ...
分类:
数据库 时间:
2020-02-26 20:40:14
阅读次数:
99
创建表单的方法: 用form标签 form标签常用元素:input:单行表单、select:下拉式表单、textarea:多行文本域 input元素的type属性:text:文本属性、checkbox:多选表单、radio:单选表单、password:密码属性、submit:提交表单、reset:重 ...
分类:
Web程序 时间:
2020-02-26 20:35:05
阅读次数:
98
map $http_upgrade $connection_upgrade { default upgrade; '' close; } upstream linecloudwebsocket { server 127.0.0.1:9002; } server{ listen 80; server_ ...
分类:
Web程序 时间:
2020-02-26 18:55:02
阅读次数:
126
版本环境python3.7DBUtils1.3mysqlclient1.4.6连接池初始化pool=PooledDB(creator=MySQLdb,mincached=0,maxcached=0,maxshared=0,maxconnections=0,blocking=False,maxusage=None,setsession=None,reset=True,failures=None,pi
分类:
数据库 时间:
2020-02-26 15:30:22
阅读次数:
127
新建一个类MyPageInterceptor.java(注意在springboot中要添加注解@Component) package com.grand.p1upgrade.mapper.test; import java.sql.Connection; import java.util.Map; ...
分类:
数据库 时间:
2020-02-25 21:52:11
阅读次数:
91