今天在调试springMVC的时候,在将一个对象返回为json串的时候,浏览器中出现异常:The resource identified by this request is only capable of generating responses with characteristics not ...
分类:
编程语言 时间:
2015-06-15 21:47:12
阅读次数:
794
首先以管理员身份登录,创建新的用户,并赋予新用户权限,步骤如下:1.打开cmd,输入sqlplus,回车2.输入用户名:system/manager@orcl as sysdba,回车3.create usersa identified by sa123; //创建sa用户,密码为sa1234.gr...
分类:
数据库 时间:
2015-06-14 16:22:41
阅读次数:
160
1.创建数据库(utf8) CREATE DATABASE `meta` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci; show databases; 2.开启远程连接 GRANT ALL PRIVILEGES ON *.* TO ‘root‘@‘%‘ IDENTIFIED BY ‘mypassword‘ W...
分类:
数据库 时间:
2015-06-13 15:48:14
阅读次数:
140
授权命令:
1. 进入mysql,GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY '' WITH GRANT OPTION;
IDENTIFIED BY后跟的是密码,可设为空。
2. FLUSH privileges; 更新...
分类:
数据库 时间:
2015-06-10 17:25:51
阅读次数:
200
用户管理mysql>use mysql;查看mysql> select host,user,password fromuser;创建mysql> create user zx_root IDENTIFIEDby 'xxxxx'; //identified by 会将纯文本密码加密作为散列值存储修改....
分类:
数据库 时间:
2015-06-10 12:11:50
阅读次数:
188
设置其他主机能使用 root 登陆数据库Mysql>GRANT ALL PRIVILEGES ON * . * TO 'root'@'%'IDENTIFIED BY ‘password’设置 user 账户能从 10.10.0.1 服务器登陆本机,且拥有所有权限Mysql>grant all on ...
分类:
数据库 时间:
2015-06-09 19:27:19
阅读次数:
132
修改my.ini去掉bind-address 127.0.0.1或添加bind-address 0.0.0.0mysql -u root -p 进入mysql,执行grant all privileges on *.* to root@"%" identified by '123456';然后flu...
分类:
数据库 时间:
2015-06-09 17:06:41
阅读次数:
130
导出exp 用户名/密码@数据库 file=路径 owner=用户名 log=c:\orabackup\hkbfull.log;创建用户drop user emis cascade;CREATE USER emis PROFILE DEFAULT IDENTIFIED BY emis DE...
分类:
数据库 时间:
2015-06-08 19:20:04
阅读次数:
150
连接:mysql -h主机地址 -u用户名 -p用户密码 (注:u与root可以不用加空格,其它也一样) 断开:exit (回车) 创建授权:grant select on 数据库.* to 用户名@登录主机 identified by \"密码\" 修改密码:mysqladmin -u用户名 -p...
分类:
数据库 时间:
2015-06-07 12:22:35
阅读次数:
139
use mysqlselect * from user \G;UPDATE user set password=PASSWORD('root') where user='root'grant all on *.* to root@'%' Identified by 'root'上次设置了密码发现不起...
分类:
数据库 时间:
2015-06-07 01:04:14
阅读次数:
157