会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
amoxuk
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
下一页
2018年4月17日
Mysql 存储过程批量插入数据出错:Cannot add or update a child row: a foreign key constraint fails
摘要: Procedure execution failed 1452 - Cannot add or update a child ro...
阅读全文
posted @ 2018-04-17 11:35 amoxuk
阅读(41)
评论(0)
推荐(0)
2018年4月16日
Spring Mybatis 在service层不关闭sqlsession连接池一次获取分页查询的总数量和数据
摘要: 有时候需要分页查询的同时获取查询的总数,然后使用的时候发现在同一个方法里面对同一个dao进行操作查询,在mybatis的日志发现是进...
阅读全文
posted @ 2018-04-16 22:52 amoxuk
阅读(117)
评论(0)
推荐(0)
2018/4/16 Js /jq 学习记录
摘要: 拓展字符串支持判断字串: String.prototype.find = function (str) { return ne...
阅读全文
posted @ 2018-04-16 14:06 amoxuk
阅读(15)
评论(0)
推荐(0)
2018年4月14日
nginx+lua 限制文件类型 请求方式 实现图片上传
摘要: 还可以加redis防止频繁请求 local upload = require "upload"local method = ngx....
阅读全文
posted @ 2018-04-14 21:04 amoxuk
阅读(312)
评论(0)
推荐(0)
NGINX + LUA实现复杂的控制 ngx_lua内置的变量
摘要: 原文地址:http://outofmemory.cn/code-snippet/14396/nginx-and-lua 安装lua_...
阅读全文
posted @ 2018-04-14 20:23 amoxuk
阅读(152)
评论(0)
推荐(0)
NGINX 配置 转发tomcat二级域名的多个项目
摘要: 基于原始文档基础修改 user nobody; worker_processes 1; error_log logs/error.l...
阅读全文
posted @ 2018-04-14 13:19 amoxuk
阅读(49)
评论(0)
推荐(0)
TCP/IP 端口大全
摘要: [TCP / IP端口号大全](http://www.douban.com/group/topic/7647051) ...
阅读全文
posted @ 2018-04-14 12:47 amoxuk
阅读(12)
评论(0)
推荐(0)
记一次ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock
摘要: ERROR 2002 (HY000): Can’t connect to local MySQL server through so...
阅读全文
posted @ 2018-04-14 12:37 amoxuk
阅读(100)
评论(0)
推荐(0)
2018年4月13日
tomcat 配置二级域名 实现域名访问webapp下项目
摘要: https://segmentfault.com/a/1190000013122831 子目录配置二级域名(备用): -...
阅读全文
posted @ 2018-04-13 19:32 amoxuk
阅读(74)
评论(0)
推荐(0)
2018年4月12日
centos7.2使用yum安装MariaDB10.1
摘要: 原文链接:http://www.cnblogs.com/zenghua/p/7149646.html ①添加MariaDB的yum源...
阅读全文
posted @ 2018-04-12 23:55 amoxuk
阅读(11)
评论(0)
推荐(0)
上一页
1
2
3
4
5
下一页
公告