随笔 - 141,  文章 - 0,  评论 - 10,  阅读 - 16万
06 2020 档案
mysql 清库
摘要:清库删表 select concat('DROP TABLE IF EXISTS ', table_name, ';') FROM information_schema.tables WHERE table_schema = '数据库名'; 清库删数据 select concat('DELETE F 阅读全文
posted @ 2020-06-29 18:40 程序员丁先生 阅读(702) 评论(0) 推荐(0) 编辑
nginx域名转发
摘要:场景1:因服务器限制,所以只对外开放了一个端口,但是需要请求不同的外网环境,所以在中转服务器上用nginx做了一次转发 实现: server { listen 8051; server_name localhost; location /license/ { proxy_pass http://xx 阅读全文
posted @ 2020-06-19 11:24 程序员丁先生 阅读(4603) 评论(0) 推荐(0) 编辑
mysql is not null 执行效率低
摘要:a表字段类型为int b表字段类型为varchar a left join b时如果查询条件是is not null,效率很快,is null 效率很低 后来两者改为同类型 int,效率很高 阅读全文
posted @ 2020-06-03 19:49 程序员丁先生 阅读(2886) 评论(0) 推荐(0) 编辑
tomcat 上传文件权限不足
摘要:参考:https://www.cnblogs.com/houchaoying/p/8652040.html tomcat-bin-catalina.sh UMASK="0027" 改为 UMASK="0002" 阅读全文
posted @ 2020-06-03 18:56 程序员丁先生 阅读(921) 评论(0) 推荐(0) 编辑


< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示