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
docker - 离线安装【因为是虚机,在线安装试了很久,各种方法都找了,最后还是没有成功,最后采用离线安装的方式,成了,所以只记录离线安装的方法】 docker一般安装在linux7以上,内核3.1以上。 查看内核: uname -a lsb_release -a 安装文件下载地址:https:/ ...
分类:
系统相关 时间:
2021-06-07 20:08:47
阅读次数:
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
# -*- coding: utf-8 -*- import urllib import urllib2 import re import json import xlwt import time workbook = xlwt.Workbook(encoding='utf-8') #新建一个Exc ...
分类:
其他好文 时间:
2021-06-05 18:28:32
阅读次数:
0
zookeeper3.4.10 kafka 2.11 redis-4.0.2 ps -ef |grep redis 里面有一个 说明没事 mongodb 3.4.3 27017 他的表 叫collection scala 2.11.12 快捷键 1.如果包没有显示出来,需要自行添加, ctrl+al ...
分类:
其他好文 时间:
2021-06-05 18:14:39
阅读次数:
0
解决从github上拉代码时报错“Failed to connect to localhost port 1080: Connection refused” 需要两行命令解决问题主要原因是使用了proxy代理,我们只需要关闭代理 git config --global http.proxy //查看 ...
分类:
其他好文 时间:
2021-06-05 18:13:54
阅读次数:
0
Connect Vagrant VM by using Xshell 1. View your vagrant ssh-config type this commend to view your vagrant ssh-config: vagrant ssh-config you will get ...
分类:
系统相关 时间:
2021-06-05 17:39:35
阅读次数:
0
WPF public void DataGridBinDingTime(){ List<string> times = new List<string>(); string time = _startTime.SelectedValue.ToString(); string[] arr = time ...
分类:
其他好文 时间:
2021-06-05 17:34:23
阅读次数:
0