摘要: insert into Privilege PrivilegeID, Type, ... 阅读全文
posted @ 2017-09-21 18:07 2637282556 阅读(187) 评论(0) 推荐(0) 编辑
摘要: 登录mysql[root@dbserver bin]# ./mysql -u root -p选数据库mysql> use mysql查看权限mysql> mysql> user,host,grant_priv from user;+---------------+--... 阅读全文
posted @ 2017-09-21 16:42 2637282556 阅读(832) 评论(0) 推荐(0) 编辑
摘要: 主机: localhost:只能本机(localhost对应的IP)访问远程的数据库 IP:只能这个IP对应的机器,可以访问远程的数据库 %:该用户在任何机器上都可以访问远程的数据库 阅读全文
posted @ 2017-09-21 15:43 2637282556 阅读(154) 评论(0) 推荐(0) 编辑
摘要: 1修改tomcat的apache-tomcat-7.0.81\conf\tomcat-users.xml文件 说明:username=”user” password=”password”是访问http://IP:port/manager/html的用户名密码... 阅读全文
posted @ 2017-09-21 14:57 2637282556 阅读(168) 评论(0) 推荐(0) 编辑
摘要: 一、上传Tomcat服务器:我上传的就是解压缩的文件 2、配置环境变量 编辑vi /etc/profile tomcat服务器运行时是需要JDK支持的,所以必须配置好JDK用到的那些环境变量,jdk配置已经配置过了(可以去我的博客找)。3修改tomcat启动端口 v... 阅读全文
posted @ 2017-09-21 10:41 2637282556 阅读(303) 评论(0) 推荐(0) 编辑
摘要: 1:配置 web.xml org.springframework.web.context.request.RequestContextListener 2在代码任何地方import org.springf... 阅读全文
posted @ 2017-09-21 01:54 2637282556 阅读(128) 评论(0) 推荐(0) 编辑