一.基本使用 》》》 依据官方文档 (1)生产端 # python 操作我们rabbitMq 需要的模块 pika # pip install pika import pika # 建立和RabbitMQ的链接 connection = pika.BlockingConnection(pika.Co ...
分类:
其他好文 时间:
2019-12-26 17:44:50
阅读次数:
136
SpringBoot启东时红色警告: Mon Jun 04 00:53:48 CST 2018 WARN: Establishing SSL connection without server's identity verification is not recommended. According ...
分类:
其他好文 时间:
2019-12-24 13:56:42
阅读次数:
84
###在master将文件拷贝到kubernetes节点上 scp /etc/kubernetes/admin.conf dataexa-k8s-node-01:/etc/kubernetes/ ###环境变量生效 echo "export KUBECONFIG=/etc/kubernetes/ad ...
分类:
其他好文 时间:
2019-12-23 13:03:50
阅读次数:
86
在执行python3 manage.py migrate时出现以下错误 ?: (mysql.W002) MySQL Strict Mode is not set for database connection 'default' HINT: MySQL's Strict Mode fixes man ...
分类:
其他好文 时间:
2019-12-22 14:24:51
阅读次数:
100
Description Given a list of Connections, which is the Connection class (the city name at both ends of the edge and a cost between them), find edges th ...
分类:
其他好文 时间:
2019-12-21 12:00:30
阅读次数:
76
配置: spring: rabbitmq: addresses: 192.168.108.128:5672 connection-timeout: 15000 username: guest password: guest publisher-confirms: true publisher-ret ...
分类:
其他好文 时间:
2019-12-20 22:37:49
阅读次数:
308
Fri Dec 20 21:53:24 CST 2019 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, ...
分类:
数据库 时间:
2019-12-20 22:24:57
阅读次数:
120
数据库连接池的目的: 减少频繁的创建/销毁连接,因为一次数据库连接的开销是很大的,要经过一下几个步骤: 1.加载驱动 2.获得一个Connection 3.通过TCP连接数据库 4.发送sql语句 5.执行sql,返回结果 6.关闭TCP连接 7.释放Connection JDBC连接池测试数据库的 ...
分类:
数据库 时间:
2019-12-19 12:59:01
阅读次数:
113
在公司换了一台电脑之后发现git clone 和 npm install都失败,报错为 fatal: unable to access 'https://github.com/netease-im/NIM_PC_UIKit/': Failed to connect to 127.0.0.1 port ...
分类:
其他好文 时间:
2019-12-18 11:10:57
阅读次数:
369