Spring整合Mybatis ? 需要的导入的依赖: Mybatis <dependency> <groupId>org.mybatis</groupId> <artifactId>mybatis</artifactId> <version>3.5.2</version> </dependency ...
分类:
编程语言 时间:
2021-01-13 11:08:14
阅读次数:
0
在操作pika时请记得安装RabbitMQ 如果没有安装会有 send端 import pikaconnection = pika.BlockingConnection(pika.ConnectionParameters('localhost'))channel = connection.chann ...
分类:
其他好文 时间:
2021-01-13 10:59:28
阅读次数:
0
1.安装:npm install axios --save-dev 2.main.js中导入 import axios from 'axios'; Vue.prototype.$axios=axios; axios.defaults.baseURL ='http://localhost/VueApi ...
分类:
移动开发 时间:
2021-01-13 10:49:44
阅读次数:
0
1.添加配置文件 proxy.conf.json { "/api": { "target": "http://localhost:1111", "secure": false, "changeOrigin": true, "logLevel": "debug" } } 在 angular.json ...
分类:
其他好文 时间:
2021-01-13 10:41:41
阅读次数:
0
创建SpringBoot项目 创建一个普通的SpringBoot项目,然后引入依赖,既然要跟数据库打交道,connector肯定不能少 <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId ...
分类:
编程语言 时间:
2021-01-12 11:06:33
阅读次数:
0
FastDFS分布式文件存储系统 一、FastDFS是什么 1.1 简介 FastDFS是C语言编写的一个开源的轻量级分布式文件系统,它由淘宝资深架构师余庆编写并开源。FasdDFS专为互联网量身定制,充分考虑到了冗余备份、负载均衡、线程扩容等机制。并注重高可用、高性能等指标,使用FastDFS很容 ...
分类:
其他好文 时间:
2021-01-12 10:45:35
阅读次数:
0
一、安装 pip install pymysql 二、链接、执行MySQL、关闭(游标) import pymysql #建立链接 database = pymysql.connect('localhost', 'root', '123123', 'orderlog') #获得游标对象, 用于逐行遍 ...
分类:
数据库 时间:
2021-01-11 11:14:02
阅读次数:
0
生成ssh公钥认证所需的公钥和私钥文件 [jiaqi.li@localhost ~]$ ssh-keygen -t rsa -b 4096Generating public/private rsa key pair.Enter file in which to save the key (/home ...
分类:
其他好文 时间:
2021-01-11 11:08:35
阅读次数:
0
实战2:使用selenium爬取淘宝数据,保存在mongodb 配置文件 MONGO_URL = 'localhost' MONGO_DB = 'taobao' MONGO_TABLE = 'yintiao' 爬虫文件 from selenium import webdriver from sele ...
分类:
数据库 时间:
2021-01-11 10:47:01
阅读次数:
0
这个错误是新重新安装时候经常会遇到的。 本文主要介绍如何修复ERROR 2003 (HY000): Can’t connect to MySQL server on ‘localhost’ (10061) 1、登录到安装Mysql的主机,打开cmd命令行工具,执行命令mysql -uroot -p, ...
分类:
数据库 时间:
2021-01-08 10:56:05
阅读次数:
0