MySQL 添加用户使用root用户登录:#mysql -uroot -p #密码为空添加用户:# GRANT USAGE ON *.* TO 'cloud'@'localhost' IDENTIFIED BY 'cloud' WITH GRANT OPTION;使用cloud用户登录:#mysql...
分类:
数据库 时间:
2015-12-24 19:24:32
阅读次数:
182
alter user hs_user account unlock;alter user hs_asset account unlock;alter user hs_his account unlock;ALTER USER hs_user IDENTIFIED BY handsome;ALTER ...
分类:
数据库 时间:
2015-12-23 21:17:41
阅读次数:
215
1、主从配置#主从都要加入以下配置如下[mysqld]log-bin=mysql-bin#主从要不一样server-id=222 #在主上建立一个用户给从的用GRANT REPLICATION SLAVE,RELOAD,SUPER ON *.* TO backup@'%' IDENTIFIED BY...
分类:
数据库 时间:
2015-12-23 10:46:36
阅读次数:
190
报错信息如下:主要是因为用root用户登录查询其他用户的表,结果这个用户不存在了,所以导致没有权限。临时解决办法,给root赋所有权限:grant all privileges on *.* to root@"%" identified by ".";flush privileges;
分类:
数据库 时间:
2015-12-21 12:23:35
阅读次数:
160
1、错误描述ORA-01031: 权限不足2、错误原因SQL> create user yhd identified by scott account unlock;
create user yhd identified by scott account unlock 由于scott是普通用户,没有权限解锁3、解决办法...
分类:
其他好文 时间:
2015-12-15 06:31:19
阅读次数:
188
1、错误描述SQL> create user yhd;
create user yhd
ORA-01938: 必须为 CREATE USER 指定 IDENTIFIED BY2、错误原因 由于创建user语法create user yhd identified by scott account unlock; 但是上述SQL不完整3、解决办法create user yhd id...
分类:
其他好文 时间:
2015-12-15 01:07:00
阅读次数:
305
给用户授权> grant all on discuz.* to 'user1'@'192.168.1.%' identified by 'wangshaojun';指定库,用户名user1 网段下所有,密码wangshaojun授权后权限没有生效,刷新权限> flush privileges;查看数...
分类:
数据库 时间:
2015-12-13 15:21:57
阅读次数:
246
--用户(user)SQL> --创建一个名为 grace password是password 的用户,新用户没有不论什么权限SQL> create user grace identified by password;验证用户:password验证方式(username/password)外部验证方...
分类:
数据库 时间:
2015-12-11 15:08:25
阅读次数:
159
修改密码:mysql> grant all privileges on *.* to yongfu_b@'192.168.1.%' identified by 'my_password_new';新建用户:mysql> grant all privileges on *.* to yongfu_b@...
分类:
数据库 时间:
2015-12-06 01:36:48
阅读次数:
205
spring mvc通过@RequestMapping("/register")和@ResponseBody返回json格式的字符串时出现如下异常:The resource identified by this request is only capable of generating resp.....
分类:
编程语言 时间:
2015-12-03 09:43:54
阅读次数:
268