pymysql连接数据库报错: 解决方法: 将db = pymysql.connect(“localhost”,“root”,“root”,“testdb” )修改为 db = pymysql.connect(host=“localhost”, user=“root”, password=“root ...
分类:
数据库 时间:
2021-04-28 12:07:51
阅读次数:
0
<dependencies> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-webmvc</artifactId> <version>5.3.2</version> </dependency> <depe ...
分类:
其他好文 时间:
2021-04-27 15:21:44
阅读次数:
0
Master配置 global_defs { notification_email { root@localhost } notification_email_from keeplived@localhost smtp_server 127.0.0.1 smtp_connect_timeout 30 ...
分类:
其他好文 时间:
2021-04-27 14:42:00
阅读次数:
0
在每次初始化VB前,都会去先初始化MPP系统,再去初始化VB 1 HI_MPI_SYS_Exit(); 2 HI_MPI_VB_Exit(); 但是去初始化不会清楚先前对缓存池的设置,且若有VB被占用,去初始化就会失败 1 HI_MPI_VB_SetConf failed with 0xa00180 ...
分类:
其他好文 时间:
2021-04-27 14:32:21
阅读次数:
0
1、安装 Homebrew, $/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh 命令输入后出现报错:curl: (7) Failed to connect ...
分类:
数据库 时间:
2021-04-26 13:47:29
阅读次数:
0
proxy_set_header client_body_buffer_size proxy_connect_timeout 代理和real 的超时 proxy_send_timeout proxy_read_timeout proxy_buffer_size proxy_buffers ...
分类:
其他好文 时间:
2021-04-26 13:41:48
阅读次数:
0
利用docker-compose+nginx,实现负载均衡部署,根据官网的例子,还是有一定的坑,摸索一番之后终于找到解决方案。 1.创建docker-compose.yaml文件 version: '3.7' # starts 4 docker containers running minio se ...
分类:
其他好文 时间:
2021-04-26 13:34:12
阅读次数:
0
Flask API 登录 零、起因 最近要写uniapp客户端,服务器使用的是Python的Flask框架,为了实现用户登录,在网上查到了一些Flask的扩展,其中比较简单的就是flask_httpauth(此时版本__version__ = '4.2.1dev'),其官网给出的基本示例: from ...
分类:
编程语言 时间:
2021-04-26 13:14:41
阅读次数:
0
默认的仓库Docker的官方仓库Docker Hub Registry Docker官方仓库的速度会比较慢,可以配一个官方的中国加速镜像 方法是:修改 /etc/docker/daemon.json 加上如下的键值: { "registry-mirrors": ["https://registry. ...
分类:
移动开发 时间:
2021-04-24 13:25:57
阅读次数:
0
AD 对指定名称的铺铜设置规则 在 Clearance 规则中用 InNamedPolygon('P1_BottomLayer') 在 Polygon Connect Style 中用 IsNamedPolygon('P1_BottomLayer') 两个不一样,并且也不能交换使用,否则不能生效,不 ...
分类:
其他好文 时间:
2021-04-24 13:12:40
阅读次数:
0