上一页 1 2 3 4 5 6 7 8 9 10 ··· 18 下一页
摘要: 进入到mysql安装包bin目录下执行此命令 mysqldump -u root -p double_prevention > /home/double_prevention.sql 阅读全文
posted @ 2022-07-22 15:03 _Lawrence 阅读(59) 评论(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 阅读(60) 评论(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 阅读(553) 评论(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 阅读(301) 评论(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 阅读(438) 评论(0) 推荐(0) 编辑
摘要: @GetMapping("app") public void app(HttpServletResponse response) throws IOException { ServletOutputStream out = null; ClassPathResource classPathResou 阅读全文
posted @ 2022-06-29 15:49 _Lawrence 阅读(881) 评论(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 阅读(108) 评论(0) 推荐(0) 编辑
摘要: ALTER TABLE person_people MODIFY COLUMN Sex VARCHAR(512); 阅读全文
posted @ 2022-06-23 18:56 _Lawrence 阅读(278) 评论(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 阅读(112) 评论(0) 推荐(0) 编辑
摘要: public static List<Date> getDayListOfMonth() throws ParseException { List list = new ArrayList(); Calendar aCalendar = Calendar.getInstance(Locale.CHI 阅读全文
posted @ 2022-05-28 10:04 _Lawrence 阅读(416) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 18 下一页