django.core.exceptions.ImproperlyConfigured: mysqlclient 1.3.13 or newer is required; you have 0.9.3. | Django报错 ...
分类:
数据库 时间:
2020-03-25 18:59:34
阅读次数:
78
在了解工厂方法之前,先了解一下面向对象设计中的开闭原则(OCP) 开闭原则是面向对象设计中“可复用设计的基石”,是面向对象设计中最重要的原则之一,其他的很对设计原则都是实现开闭原则的一种手段。 开闭原则中的“开”是指对于组件功能中的扩展是开放的,是允许对其进行功能扩展的;开闭原则中的“闭”是指对于原 ...
分类:
其他好文 时间:
2020-03-25 18:44:54
阅读次数:
62
环境: SpringFramework:4.3.5.RELEASE apollo-client:1.5.1 1.在项目的 resources/META-INF/ 目录下添加 app.properties 文件: #Apollo配置id app.id = phpdragon-demo apollo.b ...
分类:
编程语言 时间:
2020-03-24 23:04:39
阅读次数:
78
连接的错误无非几点:身份验证失败、没有权限访问、用户不存在(目前遇到) 关于身份验证失败: Client does not support authentication protocol requested by server; consider upgrading MySQL client; 上方 ...
分类:
数据库 时间:
2020-03-24 15:51:13
阅读次数:
90
深入理解 etcd:etcd 性能优化实践 本文将主要分享以下五方面的内容: 1. etcd 前节课程回顾复习; 2. 理解 etcd 性能; 3. etcd 性能优化 server 端; 4. etcd 性能优化 client 端。 etcd 前节课程回顾复习 etcd 诞生于 CoreOs 公司 ...
分类:
其他好文 时间:
2020-03-24 09:11:58
阅读次数:
78
1.1 三方登录介绍 1、三方登录流程(以微博为例) 1)前端获取认证code 1. 在Vue页面加载时动态发送请求获取微博授权url 2. django收到请求的url后,通过微博应用ID(client_id)和回调地址(redirect_uri)动态生成授权url返回给Vue 3. 当用户点击上 ...
分类:
其他好文 时间:
2020-03-24 01:13:48
阅读次数:
284
可能有人在往表中添加数据时会遇到这类报错 django.db.utils.InternalError: (1366, "Incorrect string value: '\\xE9\\x9A\\.................. 以下是亲测比较有效的解决方案 mysql版本:5.6 网传向DATA ...
分类:
其他好文 时间:
2020-03-23 12:37:39
阅读次数:
74
[TOC] 环境 idea 2019.1 Meavn 3.6.0 SpringBoot 2.2.5 jdk 1.8 构建eureka server 新建工程 启动类添加注解 @EnableEurekaServer 其他配置 构建eureka client 新建工程 pom文件添加依赖,解决启动失败 ...
分类:
编程语言 时间:
2020-03-23 00:12:08
阅读次数:
96
1,远程连接工具密码加密问题 解决Navicat for MySQL 连接 Mysql 8.0.11 出现1251- Client does not support authentication protocol 错误,如下更改密码加密方式,进入cmd cd C:\Program Files\MyS ...
分类:
数据库 时间:
2020-03-22 20:11:11
阅读次数:
110
const Core = require("@alicloud/pop-core"); var client = new Core({ accessKeyId: "xxxxxx", accessKeySecret: "xxxxxxx", endpoint: "https://dysmsapi.ali ...