数据库基本命令行 mysql -uroot -p123456 -- 连接数据库 update mysql .user set authentication_string=password('123456')where user='root' and Host = 'localhost'; -- 修改 ...
分类:
数据库 时间:
2021-05-24 07:46:41
阅读次数:
0
1.停止服务 net stop mysql; 2.控制台输入 mysqld --console --shared-memory --skip-grant-tables 3.重新打开一个窗口,进入bin目录下,执行mysql,回车 4.密码置空 update user set authenticati ...
分类:
数据库 时间:
2021-05-24 07:35:02
阅读次数:
0
最近做一个爬虫项目,需要curl请求第三方系统,其中一个请求放到postman的时候秒回,代码curl请超时,打印错误信息:empty reply from server 翻阅网上资料无果,只能用排除法,去掉请求的一些配置看是哪里影响了,最后发现去掉post data 后请求秒回,虽然返回的是请求失 ...
分类:
Web程序 时间:
2021-05-24 07:00:36
阅读次数:
0
当使用mybatis plus3.2.0+springboot2.1.1 报错 Error attempting to get column from result set 1.一般出现这种问题,最简单的错误可能是因为数据库的字段类型和实体类的类型不一致 2.但我不是,我是因为在实体类里面使用了@b ...
分类:
其他好文 时间:
2021-05-24 06:44:36
阅读次数:
0
#include<iostream> #include<cstdlib> using namespace std; #include<set> /* 3.8 set/multiset容器 3.8.1 set基本概念 简介:所有元素都会在插入时自动被排序 本质:set/multiset属于关联式容器, ...
分类:
其他好文 时间:
2021-05-24 06:37:16
阅读次数:
0
1 #include<iostream> 2 #include<cstdlib> 3 using namespace std; 4 #include<set> 5 6 7 /* 8 3.8.3 set容器大小和交换 9 10 size(); //返回容器中元素的数目 11 empty(); //判断 ...
分类:
其他好文 时间:
2021-05-24 06:33:00
阅读次数:
0
QDockWidget悬浮在主窗口上方,窗口最大化后,想到用resizeEvent函数后重新设置QDockWidget控件大小和位置, 发现数据是geometry()滞后的,不是当前的。 解决方法: 使用另外的方式触发 setWindowState(Qt::WindowMaximized) 例如重新 ...
分类:
其他好文 时间:
2021-05-24 05:51:20
阅读次数:
0
#举个栗子如下: x_vals = np.linspace(0, 10, 5) #print(x_vals) [ 0. 2.5 5. 7.5 10. ] 1 2 3 4 #转化数组为矩阵 x_vals_column = np.transpose(np.matrix(x_vals)) #print(x ...
分类:
编程语言 时间:
2021-05-24 05:23:26
阅读次数:
0
plot 绘图 import pandas as pd excel_name = '5.1-5.9数据.xlsx' df = pd.read_excel(excel_name, index_col=2, parse_dates=True) # 以第二行为索引 ax = df.plot() fig = ...
分类:
其他好文 时间:
2021-05-24 05:19:05
阅读次数:
0
es6语法的map和set 一:Set集合 类似于数组,但是成员的值都是唯一的, Set本身是一个构造函数用来生成Set数据结构 Set集合的常用方法: add() 添加值,返回Set结构本身 const set = new Set() set.add(1) set.add(1) set.add(2 ...
分类:
其他好文 时间:
2021-05-24 05:17:47
阅读次数:
0