1.进入数据库 mysql -h 主机地址 -u username -p password; 2.增加新用户 grant select (insert,update,delete,all privileges) on 数据库.* to username@登录主机 identified by '''p ...
分类:
数据库 时间:
2020-01-31 10:18:39
阅读次数:
102
报错: 解决方法: 输入select host,user,plugin,authentication_string from mysql.user; 看用户信息 更改加密方式,重置密码:(原加密方式为:alter user 'root'@'localhost' identified by '123' ...
分类:
数据库 时间:
2020-01-30 14:19:14
阅读次数:
102
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password' Where root as your user localhost as your URL and password as your p ...
分类:
数据库 时间:
2020-01-26 15:52:26
阅读次数:
77
ALTER USER "root"@"localhost" IDENTIFIED BY "你的新密码"; ...
分类:
数据库 时间:
2020-01-21 12:03:32
阅读次数:
102
一、dump文件的导出(以sqlplus命令行的方式) 二、dump文件的导入(以sqlplus命令行的方式) 三、常用辅助SQL(慎用) alter user username identified by password; drop user username cascade; drop tab ...
分类:
其他好文 时间:
2020-01-19 12:41:04
阅读次数:
204
#修改加密规则 ALTER USER 'root'@'%' IDENTIFIED BY 'password' PASSWORD EXPIRE NEVER; #更新一下用户的密码 ALTER USER 'root'@'%' IDENTIFIED WITH mysql_native_password B ...
分类:
数据库 时间:
2020-01-18 12:30:39
阅读次数:
122
1 、用cmd命令窗口登录mysql 2、输入 ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'mysql的密码'; 回车 3、输入 FLUSH PRIVILEGES;回车 4、重启navicat 完成 ...
分类:
数据库 时间:
2020-01-18 10:59:02
阅读次数:
76
create user qiepian identified by 'Qiepian123@' grant all on shop.* to 'qiepian'@'%'; flush privileges; ...
分类:
数据库 时间:
2020-01-14 17:46:14
阅读次数:
87
SQL> create user avicroot identified by P4; SQL> grant connect to avicroot; SQL> grant dba to avicroot; SQL> grant sysdba to avicroot;grant sysdba to ...
分类:
数据库 时间:
2020-01-12 13:32:59
阅读次数:
113
第一步,安装mysql, # mysql -uroot -p 2.建立远程root用户 mysql> GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY '你设置的密码' WITH GRANT OPTION; mysql> flush pr ...
分类:
编程语言 时间:
2020-01-09 19:00:41
阅读次数:
91