会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
YZHL
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
下一页
2021年4月
POI导出xlsx
摘要: 导出xlsx格式: response.setContentType("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"); response.addHeader("Content-Disposition", "att
阅读全文
posted @ 2021-04-30 11:23 何良
阅读(675)
评论(0)
推荐(0)
2021年3月
mysql decimal设置默认值0 无效,设置后自动变为null(通过Navicat可视化工具操作)
摘要: 解决:使用sql语句操作即可 alter table tb_order alter column contract_price set default 0 ;
阅读全文
posted @ 2021-03-26 16:11 何良
阅读(6845)
评论(3)
推荐(0)
Log file ./ib_logfile2 is of different size 268435456 bytes than other log files 50331648 bytes!
摘要: Log file ./ib_logfile2 is of different size 268435456 bytes than other log files 50331648 bytes! 删除这个三个文件
阅读全文
posted @ 2021-03-05 17:55 何良
阅读(313)
评论(0)
推荐(0)
mysql rpm安装
摘要: 1 卸载 rpm -qa | grep mysql rpm -e mysql-community-server-5.7.16-1.el7.x86_64rpm -e mysql-community-libs-5.7.16-1.el7.x86_64rpm -e mysql-community-clien
阅读全文
posted @ 2021-03-05 15:01 何良
阅读(107)
评论(0)
推荐(0)
mycat安装入门
摘要: 安装参考: https://blog.csdn.net/qq1445654576/article/details/106521257 问题: mycat.log Host is blocked because of many connection errors; unblock with 'mysq
阅读全文
posted @ 2021-03-04 09:18 何良
阅读(56)
评论(0)
推荐(0)
2021年1月
数据库,逻辑删除与唯一索引,同时联合使用
摘要: 将删除标记设置默认值(例如0),将唯一字段与删除标记添加唯一键约束。当某一记录需要删除时,将删除标记置为NULL。 由于NULL不会和其他字段有组合唯一键的效果,所以当记录被删除时(删除标记被置为NULL时),解除了唯一键的约束。此外该方法能很好地解决批量删除的问题(只要置为NULL就完事了),消耗
阅读全文
posted @ 2021-01-08 11:56 何良
阅读(1539)
评论(0)
推荐(0)
mysql 祖祖辈辈、子子孙孙(上级,下级)递归查询
摘要: 子子孙孙: CREATE DEFINER=``@`` FUNCTION `getChildPostList`(`userId` int(11),`projectId` varchar(32)) RETURNS varchar(1000) CHARSET latin1BEGIN DECLARE sTe
阅读全文
posted @ 2021-01-08 11:46 何良
阅读(344)
评论(0)
推荐(0)
2020年12月
idea build 找不到包maven install 成功
摘要: 背景:从git上pull后启动失败,队友更新了pom.xml,并提交了一些idea本地配置,导致本地项目环境配置变化 mvn install成功,启动build报错找不到包,进去报错的包依赖pom,发现依赖包下的有些依赖包是红色的,说明下载相关的依赖出了问题 解决: 很多已经导入的包还是报错。网上看
阅读全文
posted @ 2020-12-16 12:09 何良
阅读(1924)
评论(0)
推荐(0)
2020年11月
mvn dependency:copy-dependencies下载本地仓库jar报错找不到
摘要: 背景:idea 界面maven >install成功 cmd mvn dependency:copy-dependencies 本地仓库jar报错找不到 直接使用mvn使用的 是C:\Users\Administrator\.m2\settings.xml idea使用的是指定的settings.x
阅读全文
posted @ 2020-11-24 17:30 何良
阅读(1420)
评论(0)
推荐(0)
nacos 重启com.alibaba.nacos.core.distributed.raft.exception.JRaftException: java.io.IOException: Failed to bind
摘要: nacos 进程占用 ps -ef | grep nacos kill -9 pid
阅读全文
posted @ 2020-11-24 10:58 何良
阅读(5293)
评论(0)
推荐(0)
上一页
1
2
3
4
5
下一页
公告
如果觉得老弟写的还可以,帮忙点个赞,谢谢