digdeep

凡是过去,皆是序幕。Read the fucking manual and source code.

  博客园 :: 首页 :: 新随笔 :: 联系 :: 订阅 :: 管理 ::

12 2019 档案

摘要:向表中插入指定日期范围的连续日期。 调用方式: call insertManyDate(STR_TO_DATE('2019-06-12','%Y-%m-%d'),STR_TO_DATE('2019-12-19','%Y-%m-%d')) 阅读全文
posted @ 2019-12-18 21:35 digdeep 阅读(2256) 评论(0) 推荐(0)

摘要:应用突然被hang住了,tomcat日志报错,所有涉及到数据库的操作都报错,卡死。 show processlist 查看到大量的:Waiting for table flush 应该是 进行了 ddl 或者 flush tables 了, 想到是被 mysqldump 进行flush tables 阅读全文
posted @ 2019-12-09 14:50 digdeep 阅读(1076) 评论(0) 推荐(0)

摘要:有个特殊需求,一个普通的类,定时任务,需要获取SpringMVC的controller对应的bean: 方法: 如果报错,找不到bean fluController,那么就把这个controller配置到 applicationContext.xml中即可。 阅读全文
posted @ 2019-12-05 15:42 digdeep 阅读(2426) 评论(0) 推荐(0)

摘要:将CSV格式数据导入 mysql,报错: load data infile 'f:/nmg.csv' into table nmg fields terminated by ',' optionally enclosed by '"' escaped by '"' lines terminated 阅读全文
posted @ 2019-12-02 09:55 digdeep 阅读(8115) 评论(0) 推荐(0)

不懂数据库和Web安全的架构师不是一个好的程序员。