摘要: 1 use 数据库 2 -- InnoBD 批量转 MyISAM 注意: 数据库名需要 引号"" 3 select CONCAT('alter table ',table_name,' engine=MyISAM;') FROM information_schema.tables WHERE table_schema="数据库" AND ENGINE="InnoDB"; 4 5 -- MyI... 阅读全文
posted @ 2019-07-05 11:03 卿云烂兮 阅读(437) 评论(0) 推荐(0) 编辑
摘要: 如何选择: MyISAM: 不支持事物, 不支持外键, 查询快增删慢, 系统崩溃恢复困难 非聚集索引(索引与数据是分离存储) 支持全文索引(查询快) 变量单独存储数据增加变量+1 select count(*) from user; --> 直接取变量值 innodb:(MySql默认)... 阅读全文
posted @ 2019-05-25 21:41 卿云烂兮 阅读(134) 评论(0) 推荐(0) 编辑
摘要: springboot可以放在main方法里 代码执行后, 将spring已创建对象输出到控制台 阅读全文
posted @ 2019-05-25 15:56 卿云烂兮 阅读(390) 评论(0) 推荐(0) 编辑
摘要: <!-- 依赖 --> <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagger2</artifactId> <version>2.2.2</version></dependency><dependency> 阅读全文
posted @ 2019-05-23 09:24 卿云烂兮 阅读(349) 评论(0) 推荐(0) 编辑
摘要: 共设置三处 一. 二. 1. ctrl + shift + a 2. 搜索 registry 3. 勾选 compiler.automake.allow.when.app.running **********我已设置所以他置顶了*********** 三. 设置-->勾选自动构建项目 阅读全文
posted @ 2019-05-23 09:01 卿云烂兮 阅读(77) 评论(0) 推荐(0) 编辑
摘要: com.belerweb pinyin4j 2.5.0 package com.qf.novelty.util; import net.sourceforge.pinyin4j.PinyinHelper; import net.sourceforge.pinyin4j.format.HanyuPinyinCaseType; import net.source... 阅读全文
posted @ 2019-05-21 11:20 卿云烂兮 阅读(326) 评论(0) 推荐(0) 编辑
摘要: 也可以直接写 @GetMapping("/test") @PostMapping("/test") 阅读全文
posted @ 2019-05-21 08:42 卿云烂兮 阅读(17078) 评论(0) 推荐(0) 编辑