Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: a user to use only import
Le Mon, 21 Aug 2006 21:30:15 +0200, Frank van Bortel a écrit :
> tof schreef:
>> Hi, >> >> i create a user for use only for import and for export. >> batch_export with exp_full_database role <- It run >> batch_import with imp_full_database role <- don't run >> >> P:\>sqlplus batch_export/batch >> >> SQL*Plus: Release 10.1.0.2.0 - Production on Lun. Ao¹t 21 17:21:58 2006 >> >> Copyright (c) 1982, 2004, Oracle. All rights reserved. >> >> ERROR: >> ORA-00604: une erreur s'est produite au niveau SQL rÚcursif 1 >> ORA-20000: Connexion refusee >> ORA-06512: Ó ligne 41 >> >>
I try it. But with no create session privilege, it don't run.
See for example
SQL> create user batch identified by batch;
Utilisateur créé.
SQL> grant exp_full_database to batch;
Autorisation de privilèges (GRANT) acceptée.
SQL> oracle_at_debian:~$ exp batch/batch full=y file=test.dump
Export: Release 10.2.0.1.0 - Production on Lun. Août 21 21:51:11 2006
Copyright (c) 1982, 2005, Oracle. All rights reserved.
EXP-00056: Erreur ORACLE 1045 rencontrée ORA-01045: user BATCH lacks CREATE SESSION privilege; logon denied Nom utilisateur :
christophe Received on Mon Aug 21 2006 - 14:51:36 CDT