C:\>imp ulsdb/ulsdb@orcl file=c:\ulsdb10102009.dmp log=c:\imp_ulsdb10102009.log fromuser=ulsdb touser=ulsdb;Import: Release 10.2.0.1.0 - Production on 星期四 3月 25 14:47:34 2010Copyright (c) 1982, 2005, Oracle. All rights reserved.IMP-00058: 遇到 ORACLE 错误 1045ORA-01045: user ULSDB lacks CREATE SESSION privilege; logon denied用户名:Oracle Database 10g Enterprise Edition Release 10.2.0.1.0帮我找找原因嘛,谢谢了。急等了。========================
用户我已经创建了。
SQL> CREATE USER ulsdb 2 IDENTIFIED BY ulsdb 3 DEFAULT TABLESPACE ULS_TBS 4 TEMPORARY TABLESPACE TEMP 5 PROFILE DEFAULT 6 ACCOUNT UNLOCK; 用户已创建。
用户我已经创建了。
SQL> CREATE USER ulsdb 2 IDENTIFIED BY ulsdb 3 DEFAULT TABLESPACE ULS_TBS 4 TEMPORARY TABLESPACE TEMP 5 PROFILE DEFAULT 6 ACCOUNT UNLOCK; 用户已创建。
Cause: A connect was attempted to a userid which does not have create session privilege.
Action: Grant the user CREATE SESSION privilege.grant create session to the_user;
------------------------------------------------------------------------------
Blog: http://blog.csdn.net/tianlesoftware
网上资源: http://tianlesoftware.download.csdn.net
相关视频:http://blog.csdn.net/tianlesoftware/archive/2009/11/27/4886500.aspx
Q Q 群:62697716
grant create session to ulsdb;
grant connect,resource to ulsdb;
授权完成就好了。
首先你使用 IMP 命令就是错误的IMP 和 EXP 命令是ORACLE 9I 的命令刚才看你的执行中,
Import: Release 10.2.0.1.0 - Production on 星期四 3月 25 14:47:34 2010你的ORACLE 是 10G 那么在 10G 中的数据库备份命令则是 Expdp 和 impdp
下面附上10G的导入命令C:\>impdp 用户名/密码 directory=文件存放路径 dumpfile=文件名