摘要: pom.xml <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance 阅读全文
posted @ 2024-03-10 11:08 花开如梦 阅读(36) 评论(0) 推荐(0) 编辑
摘要: 参考链接:https://zhuanlan.zhihu.com/p/651148141 检查卸载老版本docker $ sudo apt-get remove docker docker-engine docker.io containerd runc 更新软件包 sudo apt update s 阅读全文
posted @ 2023-12-20 19:11 花开如梦 阅读(26) 评论(0) 推荐(0) 编辑
摘要: -- 示例表: CREATE TABLE `t1` ( `id` int(11) NOT NULL AUTO_INCREMENT, `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL, PRIMARY KEY (`id`), KEY `idx_a` 阅读全文
posted @ 2023-08-28 20:51 花开如梦 阅读(134) 评论(0) 推荐(0) 编辑
摘要: Navicat 常用快捷键 Shift + Home 光标 ->当前行行首 单行选中内容 Shift+End 光标 ->当前行行尾 Ctrl + R 运行已选择的 运行已选择的 Ctrl + Shift + R Ctrl + / 注释sql语句 注释 Ctrl+D 复制当前行 Ctrl + l 删除 阅读全文
posted @ 2023-08-28 16:31 花开如梦 阅读(76) 评论(0) 推荐(0) 编辑
摘要: 使用上一篇的表并插入测试数据 #‐‐ 插入一些示例数据 drop procedure if exists insert_emp; delimiter ;; create procedure insert_emp() begin declare i int; set i=1; while(i<=100 阅读全文
posted @ 2023-08-27 12:12 花开如梦 阅读(113) 评论(0) 推荐(0) 编辑
摘要: 测试建表 CREATE TABLE `employees` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(24) NOT NULL DEFAULT '' COMMENT '姓名', `age` int(11) NOT NULL DEFA 阅读全文
posted @ 2023-08-26 17:23 花开如梦 阅读(28) 评论(0) 推荐(0) 编辑
摘要: 创建表数据: #创建actor表 DROP TABLE IF EXISTS `actor`; CREATE TABLE `actor` ( `id` int(11) NOT NULL, `name` varchar(45) DEFAULT NULL, `update_time` datetime D 阅读全文
posted @ 2023-08-26 00:09 花开如梦 阅读(28) 评论(0) 推荐(0) 编辑
摘要: 索引的本质 B-Tree结构 B+Tree结构 Hash结构 MyISAM存储引擎索引实现 innodb存储引擎实现 innodb引擎生成两个文件,将索引文件和数据文件都放在的.ibd文件下(这就是聚集索引) myisam引擎生成三个文件,将索引和数据分开保存分别在 .MYD .MYI 文件下(这就 阅读全文
posted @ 2023-08-25 20:32 花开如梦 阅读(18) 评论(0) 推荐(0) 编辑
摘要: 同为原型bean情况下的循环依赖,例如: @Component @Scope("prototype") //原型bean (多例)情况 public class ServletA { @Autowired ServletB servletB; @Override public String toSt 阅读全文
posted @ 2023-08-14 21:43 花开如梦 阅读(61) 评论(0) 推荐(0) 编辑
摘要: 自定义start启动器的简单流程 pom文件 <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XML 阅读全文
posted @ 2023-08-05 21:13 花开如梦 阅读(32) 评论(0) 推荐(0) 编辑