上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 18 下一页
摘要: 在my.ini(window)或者my.cnf(linux)中 开始以为是远程TCP/IP root只能通过localhost访问 ,后来新建用户,改为%后还是无果。尝试修改my.ini配置问题后问题消失。 添加配置项 skip-name-resolve skip-grant-tables 名思义, 阅读全文
posted @ 2021-03-26 15:21 逝年的我们 阅读(140) 评论(0) 推荐(0) 编辑
摘要: demo: mysqldump -u user -p db tab1 tab2 > db.sql 或者在脚本中添加参数--tables --tables tab1 tabe2 tabe3 阅读全文
posted @ 2021-03-01 14:08 逝年的我们 阅读(810) 评论(0) 推荐(0) 编辑
摘要: 使用mysqldump备份数据时可以使用设置 --ignore-table参数进行表的忽略备份! 单表: --ignore-table=数据库名.表名 多表:--ignore-table=数据库名.表名 --ignore-table=数据库名.表名 以下是 mysqldump 的一些使用参数 备份数 阅读全文
posted @ 2021-03-01 13:49 逝年的我们 阅读(3743) 评论(0) 推荐(0) 编辑
摘要: /** * * @return true为包含,false为不包含 */ /** * 判断是否含有特殊字符 * * @param str * @return true为包含,false为不包含 */ public static boolean isSpecialChar(String str) { 阅读全文
posted @ 2021-01-07 10:30 逝年的我们 阅读(757) 评论(0) 推荐(0) 编辑
摘要: demo update 表名set 字段=date_add(字段, interval -30 minute) 为日期增加一个时间间隔:date_add() set @dt = now(); select date_add(@dt, interval 1 day); - 加1天 select date 阅读全文
posted @ 2020-12-25 14:57 逝年的我们 阅读(1197) 评论(0) 推荐(0) 编辑
摘要: 1、问题 我们在实际的工作当中,网络请求出于安全考虑会将所有请求进行拦截对登录的用户放开 2、其他平台在通过iframe嵌套咱们的页面时会导致session失效对于css和请求都会拦截 3.解决方案: 阅读全文
posted @ 2020-12-24 17:29 逝年的我们 阅读(3799) 评论(3) 推荐(0) 编辑
摘要: 然后带着这些要求去寻找,找到了Thumbnailator,一个google使用的开源的工具类。 这个工具类满足了上面所说的所有的要求。 同时对于图片的处理还有了别的方法,如旋转,裁切,加水印等等。 在github上面的地址是:https://github.com/coobird/thumbnaila 阅读全文
posted @ 2020-12-15 10:46 逝年的我们 阅读(114) 评论(0) 推荐(0) 编辑
摘要: 前台判断http请求与https请求并进行相关的处理var ishttps = 'https:' == document.location.protocol ? true : false; var rquestHttp=""; if (ishttps) { alert("是https请求!"); } 阅读全文
posted @ 2020-12-15 09:37 逝年的我们 阅读(227) 评论(0) 推荐(0) 编辑
摘要: 项目从http升级到https后,jsp页面存在发送http请求的情况下就会出现该异常。因为HTTPS 是 HTTP over Secure Socket Layer,以安全为目标的 HTTP 通道,所以在 HTTPS 承载的页面上不允许出现 http 请求。 以下页面头加到页面头部可以将页面htt 阅读全文
posted @ 2020-12-14 18:49 逝年的我们 阅读(2231) 评论(0) 推荐(0) 编辑
摘要: { checkbox: true, visible: true, formatter: function (value, row, index) { if(row.isCheck =="1"){ return {disabled : true,} }else{ return {disabled : 阅读全文
posted @ 2020-12-12 15:52 逝年的我们 阅读(261) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 18 下一页