上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 20 下一页
摘要: org.springframework.context.ApplicationContextException: Unable to start web server; nested exception is org.springframe work.boot.web.server.WebServe 阅读全文
posted @ 2022-08-04 10:02 _Lawrence 阅读(190) 评论(0) 推荐(0)
摘要: 进入到mysql安装包bin目录下执行此命令 mysqldump -u root -p double_prevention > /home/double_prevention.sql 阅读全文
posted @ 2022-07-22 15:03 _Lawrence 阅读(73) 评论(0) 推荐(0)
摘要: 登录mysql mysql -u root -p 输入登录密码 使用mysql数据库 USE mysql 修改密码 ALTER USER ‘test’@‘localhost’ IDENTIFIED WITH MYSQL_NATIVE_PASSWORD BY ‘新密码’; 验证是否修改成功 mysql 阅读全文
posted @ 2022-07-22 13:17 _Lawrence 阅读(76) 评论(0) 推荐(0)
摘要: 执行: select * from mysql.user | Host | User | Select_priv | Insert_priv | Update_priv | Delete_priv | Create_priv | Drop_priv | Reload_priv | Shutdown_ 阅读全文
posted @ 2022-07-22 13:12 _Lawrence 阅读(602) 评论(0) 推荐(0)
摘要: public static void http(String url,JSONObject object){ try{ CloseableHttpClient httpClient = HttpClientBuilder.create().build(); HttpPost httpPost = n 阅读全文
posted @ 2022-07-12 09:23 _Lawrence 阅读(316) 评论(0) 推荐(0)
摘要: String str = "'0ec93d13eaae488db7f9f644cb4885c3','fsfds','sdfsdfsd'"; List<String> list = Arrays.asList(str.split(",")); list.forEach(s -> { System.ou 阅读全文
posted @ 2022-07-12 09:21 _Lawrence 阅读(467) 评论(0) 推荐(0)
摘要: @GetMapping("app") public void app(HttpServletResponse response) throws IOException { ServletOutputStream out = null; ClassPathResource classPathResou 阅读全文
posted @ 2022-06-29 15:49 _Lawrence 阅读(918) 评论(0) 推荐(0)
摘要: SOURCE 文件路径 例:SOURCE /opt/double_preventiont.sql 如果导入数据量大: -- 禁用索引和约束SET autocommit=0;SET unique_checks=0;SET FOREIGN_KEY_CHECKS=0; -- 导入数据SOURCE /pat 阅读全文
posted @ 2022-06-23 19:26 _Lawrence 阅读(124) 评论(0) 推荐(0)
摘要: ALTER TABLE person_people MODIFY COLUMN Sex VARCHAR(512); 阅读全文
posted @ 2022-06-23 18:56 _Lawrence 阅读(286) 评论(0) 推荐(0)
摘要: public static String getWeek(String date) throws ParseException { String[] weeks = {"1","2","3","4","5","6","7"}; Calendar cal = Calendar.getInstance( 阅读全文
posted @ 2022-05-28 10:47 _Lawrence 阅读(173) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 20 下一页