问题:scott用户导入dmp文件,提示没有DBA权限。 解决方法: 授予dba角色权限: grant dba to scott; 导入数据: imp scott/1234@myDB file=G:ac43_620.dmp
问题:scott用户导入dmp文件,提示没有DBA权限。
解决方法:
授予dba角色权限:
grant dba to scott;
导入数据:
imp scott/1234@myDB file=G:ac43_620.dmp full=y
取消dba角色权限:
revoke dba from scott;
另外,scott账户本来是锁定的。
锁定账户:
alter user scott account lock;
解锁账户:
alter user scott account unlock;
修改scott的登录密码:
alter user scott identified by tiger;
授予连接权限:
grant connect to scott;
授予创建表等基本权限:
grant resource to scott;
授予使用空间权限:
grant unlimited on tablespace to scott;alter user scott quota unlimited on tablespace_name;
--结束END--
本文标题: Oracle数据库scott用户无法导入数据的解决方法
本文链接: https://www.lsjlt.com/news/5207.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
下载Word文档到电脑,方便收藏和打印~
2024-05-03
2024-05-03
2024-05-03
2024-05-03
2024-05-03
2024-05-03
2024-05-03
2024-05-03
2024-05-03
2024-05-03
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0