上一页 1 2 3 4 5 6 ··· 26 下一页

2023年4月26日

Linux设置vim显示行号

摘要: linux中显示行号的方法:1、打开linux终端;2、在linux终端命令行中输入“set number”或“set nu”命令显示行号即可。 具体操作步骤: 1、在linux系统桌面中使用快捷键打开linux终端命令行模式。 2、在linux终端命令行中输入以下命令查看显示行号即可。 set n 阅读全文

posted @ 2023-04-26 11:01 悄悄的来,匆匆的走 阅读(923) 评论(0) 推荐(0) 编辑

2023年4月18日

is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts'

摘要: 指定允许连接不成功的最大尝试次数。5.7默认是100;如果到达这个数,那么服务器将不再允许新的连接,即便mysql仍正常对外提供服务。所以可以将这个参数设置为几万。 show variables like 'max_connect_errors'; //最大链接错误次数 可以提供最大的链接错误次数 阅读全文

posted @ 2023-04-18 20:09 悄悄的来,匆匆的走 阅读(21) 评论(0) 推荐(0) 编辑

2023年4月7日

查询mysql的数据库容量

摘要: 查看所有数据库容量大小 SELECT table_schema AS '数据库', sum( table_rows ) AS '记录数', sum( TRUNCATE ( data_length / 1024 / 1024/1024, 2 )) AS '数据容量(G)', sum( TRUNCATE 阅读全文

posted @ 2023-04-07 17:38 悄悄的来,匆匆的走 阅读(45) 评论(0) 推荐(0) 编辑

2023年2月6日

elasticHD 安装教程 windows

摘要: 1.下载elasticHD_windows_amd64.zip https://github.com/qax-os/ElasticHD/releases 2.在命令行运行这个 .\ElasticHD.exe -p 127.0.0.1:9800 3.命令行中显示: To view elasticHD 阅读全文

posted @ 2023-02-06 12:29 悄悄的来,匆匆的走 阅读(662) 评论(0) 推荐(0) 编辑

2023年1月29日

linux中执行post请求 参数是json格式

摘要: 1.linux中执行post请求 参数是json格式 curl -H "Content-Type:application/json" -X POST --data '{"name":"fym"}' http://localhost:8080/insertData 阅读全文

posted @ 2023-01-29 17:27 悄悄的来,匆匆的走 阅读(331) 评论(0) 推荐(0) 编辑

2023年1月28日

Spring Cloud项目启动失败:class path resource [mapper/] cannot be resolved to URL because it does not exist

摘要: Spring Cloud项目启动失败:class path resource [mapper/] cannot be resolved to URL because it does not exist 这个是无法解析当前的URL,做出如下修改,classpath 后多加一个“ * ”,修复了这个错误 阅读全文

posted @ 2023-01-28 16:37 悄悄的来,匆匆的走 阅读(1036) 评论(0) 推荐(0) 编辑

2022年12月19日

SpringBoot项目向前端返回json数据时,忽略为 null 的属性字段

摘要: 主要有两种方法实现: 在返回类上添加注解 @JsonInclude(JsonInclude.Include.NON_NULL) 该注解可以将实体类中的null的属性自动忽略。 Springboot 项目可以修改 application.yml 文件配置全局自动忽略: spring: jackson: 阅读全文

posted @ 2022-12-19 14:33 悄悄的来,匆匆的走 阅读(521) 评论(0) 推荐(0) 编辑

2022年12月7日

复制数据结构和索引,还有数据

摘要: CREATE TABLE 新表 LIKE 旧表; INSERT INTO 新表 SELECT * FROM 旧表 ; 阅读全文

posted @ 2022-12-07 20:05 悄悄的来,匆匆的走 阅读(15) 评论(0) 推荐(0) 编辑

2022年11月22日

springboot配置文件开启mybatis得debug日志配置

摘要: 阅读全文

posted @ 2022-11-22 18:34 悄悄的来,匆匆的走 阅读(609) 评论(0) 推荐(0) 编辑

Spring Cloud Feign 压缩配置导致的字符混乱(only regular white space )

摘要: [nio-9601-exec-2] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.http.converter.HttpMessageNotReadableException: JSON parse 阅读全文

posted @ 2022-11-22 17:23 悄悄的来,匆匆的走 阅读(1091) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 ··· 26 下一页

导航