1.在自己的服务器中找到redis的配置文件 redis.conf 使用命令vi redis.conf或vim redis.conf ...
分类:
其他好文 时间:
2021-06-07 20:35:04
阅读次数:
0
db = pymysql.connect(host="localhost", port=3306, user="root", passwd="xxx", db="stu_info")cursor = db.cursor(cursor=pymysql.cursors.DictCursor)cursor ...
分类:
数据库 时间:
2021-06-07 20:09:12
阅读次数:
0
1.作用 它可以根据数据库中的表,来帮我们生成供mybatis使用使用实体类,xml和接口类。 2.基本用法 在maven的pom文件中引入MBG(MyBatis Generator)jar包 <dependency> <groupId>org.mybatis.generator</groupId> ...
分类:
其他好文 时间:
2021-06-07 20:05:20
阅读次数:
0
PyMysql连接数据库 防止sql注入 import pymysql ? ? def insertsql(): # 建立连接 connection_sql = pymysql.connect( host='localhost', port=3306, user='root', password=' ...
分类:
数据库 时间:
2021-06-07 20:05:01
阅读次数:
0
Header: #include <QDrag>qmake: QT += gui Public Functions QDrag(QObject *dragSource)virtual ~QDrag()Qt::DropAction defaultAction() constQPixmap dragCu ...
分类:
其他好文 时间:
2021-06-07 20:00:17
阅读次数:
0
一、 消息队列概述 消息队列是指利用高效可靠的消息传递机制进行与平台无关的数据交流,并基于数据通信来进行分布式系统的集成。 通过提供消息传递和消息排队模型,它可以在分布式环境下提供应用解耦、弹性伸缩、冗余存储、流量削峰、异步通信、数据同步 等等功能,其作为 分布式系统架构 中的一个重要组件,有着举足 ...
分类:
其他好文 时间:
2021-06-06 18:50:48
阅读次数:
0
LSMW: 老是摸我 这工具该退休了 ,S4下新工具强大亮相,LTMC:老唐卖钞 周日花了一天配通了LTMC的配置,周一研究了一天,周二开始导入数据: 特征及值:ZH_Characteristic.xml 分类:ZH_Class.xml 可配置物料:ZH_Material.xml VC BOM:ZH ...
分类:
其他好文 时间:
2021-06-06 18:48:16
阅读次数:
0
解决从github上拉代码时报错“Failed to connect to localhost port 1080: Connection refused” 需要两行命令解决问题主要原因是使用了proxy代理,我们只需要关闭代理 git config --global http.proxy //查看 ...
分类:
其他好文 时间:
2021-06-05 18:13:54
阅读次数:
0
Prerequisites: CentOS7 virtual machine on Hyper-V Now we have a working CentOS7 virtual machine on Hyper-V. Let's configure the Internal network for i ...
分类:
Web程序 时间:
2021-06-05 18:04:36
阅读次数:
0
Prerequisites: Windows 10 Hyper-V Virtual machine parameters: Memory 2GB Hard Drive 20GB Provisioning: Launch Hyper-V, click on new > Virtual Machine ...
分类:
系统相关 时间:
2021-06-05 17:49:23
阅读次数:
0