上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 66 下一页
摘要: Mysql数据库采用InnoDB模式,默认参数:innodb_lock_wait_timeout设置锁等待的时间是50s,一旦数据库锁超过这个时间就会报错。 mysql> SHOW GLOBAL VARIABLES LIKE 'innodb_lock_wait_timeout';+ + +| Var 阅读全文
posted @ 2019-04-08 10:22 yshy 阅读(23309) 评论(0) 推荐(2)
摘要: package com.utils; import java.util.*; import java.text.SimpleDateFormat; public class DateUtil { /** * 获取指定年月的第一天 * @param ym yyyy-MM * @return */ public static String... 阅读全文
posted @ 2019-03-07 20:39 yshy 阅读(3128) 评论(0) 推荐(0)
摘要: location /ssfwpt { proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; prox... 阅读全文
posted @ 2019-03-06 12:45 yshy 阅读(1835) 评论(0) 推荐(0)
摘要: 1:安装apache2 sudo apt install apache2 2:修改端口号 sudo vi /etc/apache2/ports.conf 3:修改跟目录 在 /etc/apache2/sites-available 中修改 000-default.conf 中的DocumentRoo 阅读全文
posted @ 2019-02-27 16:56 yshy 阅读(5535) 评论(0) 推荐(0)
摘要: public static JSONArray convertToJSON(ResultSet resultSet) throws Exception { JSONArray jsonArray = new JSONArray(); while (resultSet.next()) { int total_rows... 阅读全文
posted @ 2019-01-22 09:39 yshy 阅读(535) 评论(0) 推荐(0)
摘要: 增加以下配置: 阅读全文
posted @ 2018-12-25 17:02 yshy 阅读(3741) 评论(0) 推荐(0)
摘要: 例如有以下格式数据: 现在需要将每一行的10位长度的数字串后面增加等号“=” 阅读全文
posted @ 2018-12-18 19:12 yshy 阅读(987) 评论(0) 推荐(0)
摘要: 1:查出锁定表的信息SELECT s.sid, s.serial#, s.username, s.schemaname, s.osuser, s.process, s.machine,s.terminal, s.logon_time, l.typeFROM v$session s, v$lock l 阅读全文
posted @ 2018-12-13 11:27 yshy 阅读(373) 评论(0) 推荐(0)
摘要: 1:修改Tomcat默认端口号,将默认的8080修改为8081 apache-tomcat-8.5.31\conf\server.xml 2:配置管理台用户权限信息,注意username与password apache-tomcat-8.5.31\conf\tomcat-users.xml 3:配置 阅读全文
posted @ 2018-12-11 13:16 yshy 阅读(1725) 评论(0) 推荐(0)
摘要: 1:添加依赖 2:应用案例 阅读全文
posted @ 2018-10-28 09:08 yshy 阅读(768) 评论(0) 推荐(0)
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 66 下一页