摘要: mysql> CREATE USER 'root'@'%' IDENTIFIED BY 'Hadoop3!'; Query OK, 0 rows affected (0.04 sec) mysql> grant all privileges on *.* to 'root'@'%'; Query O 阅读全文
posted @ 2020-05-12 15:32 呆code 阅读(1447) 评论(1) 推荐(0)
摘要: 直接下载解压版本的就ok, 2,下载完需要创建一个名为my.ini的文件: 3.修改my.ini文件: [mysql] # 设置mysql客户端默认字符集 default-character-set=utf8 [mysqld] # 设置3306端口 port = 3306 # 设置mysql的安装目 阅读全文
posted @ 2020-04-30 10:31 呆code 阅读(3138) 评论(0) 推荐(0)
摘要: <a href="javascript:excels()" class="coolbg">&nbsp;导出Excel&nbsp;</a> js里面 function excels() { $.ajax({ type:"GET", url:"${pageContext.request.contextP 阅读全文
posted @ 2020-03-20 15:00 呆code 阅读(206) 评论(0) 推荐(0)
摘要: 设置允许指定端口通过防火墙centos7 1.systemctl start firewalld.service(开启防火墙) 2.systemctl stop firewalld.service(开启防火墙) 3.service firewalld restart(从启防火墙) 4.firewal 阅读全文
posted @ 2020-01-10 13:35 呆code 阅读(291) 评论(0) 推荐(0)
摘要: 在CentOS中默认安装有MariaDB,这个是MySQL的分支,但为了需要,还是要在系统中安装MySQL,而且安装完成之后可以直接覆盖掉MariaDB。 [root@localhost ~]# wget -i -c http://dev.mysql.com/get/mysql57-communit 阅读全文
posted @ 2020-01-10 11:02 呆code 阅读(2541) 评论(0) 推荐(1)
摘要: 一、 public class ExcelUtils { public static String parseCellToString(Cell cell){ SimpleDateFormat sdf = new SimpleDateFormat("yyyy年MM月dd日"); String res 阅读全文
posted @ 2019-12-11 16:00 呆code 阅读(1065) 评论(0) 推荐(0)
摘要: 一、 package com.wang.utils; import java.util.HashMap; import java.util.Map; import java.util.Set; public class MapUtils { public static String parsePar 阅读全文
posted @ 2019-12-11 15:59 呆code 阅读(643) 评论(0) 推荐(0)
摘要: public class ConstantUtils { public static final Integer PAGE_SIZE=2; public static final Integer NAVIGATE_PAGES=5; } 阅读全文
posted @ 2019-12-11 15:58 呆code 阅读(576) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <html lang="en" xmlns:v-bind="http://www.w3.org/1999/xhtml" xmlns:v-model="http://www.w3.org/1999/xhtml" xmlns:v-on="http://www.w3.org 阅读全文
posted @ 2019-12-11 15:57 呆code 阅读(1027) 评论(0) 推荐(0)
摘要: 一、 自己写一个filter类 package com.ujy.filter; import javax.servlet.*; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRes 阅读全文
posted @ 2019-12-11 15:53 呆code 阅读(492) 评论(0) 推荐(0)