创建用户 create user 用户名@localhost identified by '密码'; 分配权限 grant 权值 on 库名 .表名 to 用户@localhost 回收权限 revoke 权值 on 库名 .表名 from 用户@localhost 修改密码 set passwor ...
分类:
数据库 时间:
2018-07-18 16:54:16
阅读次数:
187
出现1251错误是因为,MySQL8.0版本改变了密码的验证规则caching_sha2_password,MySQL之前的版本验证规则是mysql_native_password,现在需要修改MySQL8的验证规则。ALTER USER 'root'@'localhost' IDENTIFIED ...
分类:
数据库 时间:
2018-07-18 13:57:27
阅读次数:
171
一、创建用户并赋予权限 1、创建用户 create user wangxiangyu identified by wangxiangyu; 2、赋权 grant dba to wangxiangyu; grant create session to wangxiangyu; --会话权限(没有该权限 ...
分类:
数据库 时间:
2018-07-18 00:34:19
阅读次数:
256
1.创建一个用户名为LIXIAOLONG,密码为123456的用户。 CREATE USER LIXIAOLKONG IDENTIFIED BY 123456; 2.为用户授予连接,资源,管理员角色。 grant connect, resource,dba to LIXIAOLONG 接下来可以在这 ...
分类:
数据库 时间:
2018-07-14 16:43:09
阅读次数:
153
权限 撤销权限revoke all on *.* from 'root'@'192.168.0.197' ; 给指定用户赋予指定数据库select的权限 grant select ON xx_db TO 'user_xx' @'%' IDENTIFIED BY "password";给指定用户赋予指 ...
分类:
数据库 时间:
2018-07-14 16:42:50
阅读次数:
128
Discuz论坛的搭建 ##创建BBS数据库在144mysql -uroot -proot create database bbs; show databases; grant all on bbs.*to bbs@'localhost' identified by 'root'; ==>grant... ...
分类:
Web程序 时间:
2018-07-12 23:58:59
阅读次数:
528
基础LNMP环境搭建 【更多参考】 创建zabbix数据库信息create database zabbix; grant all privileges on zabbix.* to zabbix@'localhost' identified by 'zabbix'; grant all privil... ...
分类:
其他好文 时间:
2018-07-12 22:38:28
阅读次数:
272
The resource identified by this request is only capable of generating responses with characteristics not acceptable according to the request "accept" ...
分类:
其他好文 时间:
2018-07-12 13:31:25
阅读次数:
175
错误代码: client does not support authentication 解决办法: 1 使用命令行进入数据库 2 选着数据库 mysql --> user mysql 3 alter user 'root'@'localhost' identified with mysql_nat ...
分类:
数据库 时间:
2018-07-10 22:41:15
阅读次数:
268
权限问题,授权给 root 所有sql 权限 在Navicat for MySQL中按F6进入命令列界面 mysql> grant all privileges on *.* to root@"%" identified by "."; mysql> flush privileges; ...
分类:
数据库 时间:
2018-07-10 18:28:46
阅读次数:
189