网上搜索到的都是用pip install mysql-python命令进行安装,可是实际操作时发生错误,错误提示: error: Microsoft Visual C++ 14.0 is required ..... 尝试安装visual C++ ,但是失败,具体原因不详 解决方案: 从 http: ...
分类:
数据库 时间:
2020-06-01 10:30:01
阅读次数:
91
在启动一台消费者微服务时出现了异常 Field client in com.rachel.web.ConsumerController required a bean of type 'org.springframework.cloud.netflix.ribbon.RibbonLoadBalanc ...
分类:
数据库 时间:
2020-06-01 00:39:29
阅读次数:
215
Django之forms组件 校验字段功能 # reg.html <form action="" method="post"> {% csrf_token %} <p>用户名<input type="text" name="username"></p> <p>密码<input type="text" ...
分类:
其他好文 时间:
2020-05-30 22:20:29
阅读次数:
82
1. No suitable driver found for mysql:jdbc://localhost:3306/test
2. Not allowed to connect to this MySQL server
3. The server time zone value '?... ...
分类:
数据库 时间:
2020-05-30 22:04:20
阅读次数:
107
引言 Kafka是一款很棒的消息系统,今天我们就来深入了解一下它的实现细节,首先关注Producer这一方。 要使用kafka首先要实例化一个KafkaProducer,需要有brokerIP、序列化器等必要Properties以及acks(0、1、n)、compression、retries、ba ...
分类:
其他好文 时间:
2020-05-30 21:48:33
阅读次数:
75
使用Ajax跨域请求资源,Nginx作为代理,出现:The 'Access-Control-Allow-Origin' header contains multiple values '*, *', but only one is allowed 错误。 服务端允许跨域配置: #region 设置允 ...
分类:
数据库 时间:
2020-05-28 19:33:40
阅读次数:
290
session 分配的内存,在事务过程中用来存储二进制日志的缓存。 当我们执行多语句事务的时候,所有session的使用的内存超过max_binlog_cache_size的值时,就会报错: Multi-statement transaction required more than 'max_bi ...
分类:
系统相关 时间:
2020-05-28 16:39:03
阅读次数:
72
export default { data() { return { form: { code: "", name: "", enable: true }, rules: { code: [ { required: true, validator: (rule, value, callback) = ...
分类:
其他好文 时间:
2020-05-28 16:15:13
阅读次数:
218
Django配置信息 配置信息主要由项目的settings.py实现,主要配置有项目路径、密钥配置、域名访问权限、App列表、配置静态资源、配置模板文件、数据库配置、中间件和缓存配置 当DEBUG为True且ALLOWED_HOSTS为空时,项目只允许以localhost或127.0.0.1在浏览器 ...
分类:
其他好文 时间:
2020-05-27 20:23:03
阅读次数:
64
错误代码: 1 NavigationDuplicated {_name: "NavigationDuplicated", name: "NavigationDuplicated", message: "Navigating to current location ("/index") is not ...
分类:
其他好文 时间:
2020-05-27 15:14:34
阅读次数:
200