摘要: mybatis-plus官网:https://mp.baomidou.com/ 一 、mybatis-plus快速部署 1、初步配置,基于springboot,创建springboot工程,导入依赖 <!-- https://mvnrepository.com/artifact/mysql/mysq 阅读全文
posted @ 2022-07-15 01:57 花椒蛋炒饭 阅读(307) 评论(0) 推荐(0)
摘要: 一、操作数据库基本命令 1、数据库的基本命令 mysql -u root -p123456 --连接数据库 update mysql.user set authentication_string=password('123456') where user='root' and Host = 'loc 阅读全文
posted @ 2022-07-15 01:50 花椒蛋炒饭 阅读(268) 评论(0) 推荐(0)
摘要: 1、导入依赖 <!-- Swagger API文档 --> <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagger2</artifactId> <version>2.9.2</version> <exclu 阅读全文
posted @ 2021-09-08 17:23 花椒蛋炒饭 阅读(102) 评论(0) 推荐(0)
摘要: Apache ECharts官网地址:https://echarts.apache.org/zh/index.html 1、安装echarts库 npm install echarts --save 2、导入在main.js导入,以便全局使用 import * as echarts from 'ec 阅读全文
posted @ 2021-09-08 17:17 花椒蛋炒饭 阅读(370) 评论(0) 推荐(0)
摘要: 绝大部分的命令都是在云服务器上进行使用过的,可以放心的使用。 一、开机、关机 sync # 将数据由内存同步到硬盘中 shutdown # 关机指令,你可以man shutdown来看一下帮助文档。例如你可以执行如下的命令关机 shutdown -h # 计算机将在10分钟后关机 shutdown 阅读全文
posted @ 2021-02-15 00:26 花椒蛋炒饭 阅读(127) 评论(0) 推荐(0)
摘要: 一、创建maven项目 二、导入jar包 需要的jar包: <!--依赖注入--> <dependencies> <!--单元测试--> <!-- https://mvnrepository.com/artifact/junit/junit --> <dependency> <groupId>jun 阅读全文
posted @ 2020-10-21 14:48 花椒蛋炒饭 阅读(246) 评论(0) 推荐(0)
摘要: 一、准备 创建一个空的maven项目 导入依赖包: <dependencies> <!--数据库驱动--> <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> <version>5.1 阅读全文
posted @ 2020-09-06 17:23 花椒蛋炒饭 阅读(174) 评论(0) 推荐(0)
摘要: mybatis连接mysql数据库 1.创建一个空的maven项目 2.在项目的pom.xml文件中导入所需要的依赖,依赖如下: 没有配置镜像的会导入较慢 <dependencies> <!--数据库驱动--> <dependency> <groupId>mysql</groupId> <artif 阅读全文
posted @ 2020-09-03 23:18 花椒蛋炒饭 阅读(662) 评论(0) 推荐(0)