首先以管理员账号登陆 1.创建用户 --创建用户(无需事务提交) create user chen identified by 123456; --赋予权限(赋予chen连接权限) grant create session,create table to chen; 再次打开plsql用chen这个 ...
分类:
数据库 时间:
2020-03-14 23:56:59
阅读次数:
109
关于mysql(8.0连接navicat发生的错误解决方法)数据库安装图形化界面无法更改加密的方式导致无法连接问题为解决; Alter user 'root'@'localhost' identified with mysql_native_password by '123456'; 切忌空格的问题 ...
分类:
数据库 时间:
2020-03-14 11:22:01
阅读次数:
65
刷新 flush privileges; 删除用户及权限 drop user 用户名@'%'; drop user gjh@'120.244.144.169'; 赋予权限 GRANT ALL PRIVILEGES ON *.* TO 'root'@'访问IP' IDENTIFIED BY '数据库密 ...
分类:
数据库 时间:
2020-03-11 23:26:31
阅读次数:
72
/usr/local/MySQL/bin/mysql -u root -p ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '123456'; ...
分类:
数据库 时间:
2020-03-08 23:19:53
阅读次数:
71
匿名登入Oracle sqlplus "/ as sysdba" 注:无法用cmd执行,请进入SQL Plus目录中执行。 激活scott用户 Alter user scott account unlock; 修改scott密码 alter user 用户名 identified by 密码; ...
分类:
数据库 时间:
2020-03-05 13:04:52
阅读次数:
95
mysql> use mysql;Database changedmysql> grant all privileges on *.* to root@'%' identified by "password";Query OK, 0 rows affected (0.00 sec) mysql> f ...
分类:
数据库 时间:
2020-03-04 09:38:09
阅读次数:
78
//当忘记了账号密码,需要重置,打开cmd sqlplus 请输入用户名: conn/sys as sysdba //重置sys的密码为admin alter user sys identified by admin; //退出 exit; 在cmd中:sqlplus //输入用户名测试一些密码 请 ...
分类:
数据库 时间:
2020-03-04 00:41:48
阅读次数:
86
首先在本地使用root账户登录。(https://www.cnblogs.com/CUIT-DX037/p/12378586.html) 然后,执行以下语句: GRANT ALL PRIVILEGES ON 库名.表名 TO '用户名'@'远程IP' IDENTIFIED BY '访问密码' WIT ...
分类:
数据库 时间:
2020-02-28 20:21:48
阅读次数:
77
oracle 12C 提示口令已经失效,此用户是pdb用户,解决办法:1 系统管理员身份登陆 sqlplus / as sysdba 2 转到对应的pdb容器中 alter session set container=db_meta; 3 修改密码 alter user 用户名 identified ...
分类:
数据库 时间:
2020-02-26 15:35:00
阅读次数:
135
给targetUserName用户授予databaseName单个数据库权限 grant all privileges on databaseName.* to targetUserName@"%" identified by 'targetPassword';grant select,delete ...
分类:
数据库 时间:
2020-02-24 21:03:26
阅读次数:
105