用Navicat for mysql连接数据库测试下连接 如果出现1130错误 错误代码是1130,ERROR 1130: Host xxx.xxx.xxx.xxx is not allowed to connect to this MySQL server 是无法给远程连接的用户权限问题。 服务端 ...
分类:
数据库 时间:
2019-11-22 10:40:50
阅读次数:
96
一、背景mysql 表中已有 4 亿数据,为提高查询效率,需创建分区,一开始计划是创建 HASH 分区,结果报错:ERROR 1659 (HY000): Field 'partno' is of a not allowed type for this type of partitioning1 查询 ...
分类:
数据库 时间:
2019-11-21 09:32:52
阅读次数:
151
原因:你本地的请求ajax的get和post请求;如果你的请求头内放一些可用验证数据Token的时候就会存在跨域请求这是浏览器所不允许的问题; 方案一:后台的接口请求模式都写成jsonp请求,前端去调用; 特点:是一种非正式传输协议,该协议的一个要点就是允许用户传递一个callback 或者开始就定 ...
分类:
数据库 时间:
2019-11-20 12:48:41
阅读次数:
380
Networkx Class Type Self-loops allowed Parallel edges allowed Graph undirected Yes No DiGraph directed Yes No MultiGraph undirected Yes Yes MultiDiGra ...
分类:
Web程序 时间:
2019-11-18 12:41:14
阅读次数:
107
常用的高级程序设计语言 常用的高级程序设计语言 语言 特点 FORTRAN 数值计算 COBOL 事务处理 PASCAL 结构化程序设计 LISP 函数式程序设计 PROLOG 逻辑程序设计 C 系统程序设计 Smalltalk 面向对象程序设计 Java Internet应用,可移植性 Pytho ...
分类:
编程语言 时间:
2019-11-15 00:22:45
阅读次数:
152
``` import scrapy class LoginSpider(scrapy.Spider): name = 'login' allowed_domains = ['xxx.com'] start_urls = ['https://www.xxx.com/xx/'] cookies = ""... ...
分类:
Web程序 时间:
2019-11-10 11:42:02
阅读次数:
108
Calculate the sum of two integers a and b, but you are not allowed to use the operator + and -. Example 1: Input: a = 1, b = 2 Output: 3 Example 2: In ...
分类:
其他好文 时间:
2019-11-09 11:46:56
阅读次数:
63
# 需求: 编写爬虫项目与Django项目详解和, 将爬取到的数据展示到前端页面上 # spider编写:import scrapyfrom dl.items import DlItemclass PSpider(scrapy.Spider): name = 'p' # allowed_domain ...
分类:
其他好文 时间:
2019-10-28 20:55:33
阅读次数:
68
原因:在路由中添加了相同的路由。解决:重写路由的push方法 在src/router/index.js 里面import Router from 'vue-router'下面写入下面方法即可 ...
分类:
其他好文 时间:
2019-10-22 10:38:08
阅读次数:
676
生产环境上遇到这个问题,控制台不停打印 “OOM command not allowed when used memory > 'maxmemory' ”; 起初不知道是什么,经过一番搜索: 1.登陆redis客户端:./redis-cli -h IP -p port -a passwd 2.执行命 ...
分类:
其他好文 时间:
2019-10-22 01:12:59
阅读次数:
162