Link to home
Start Free TrialLog in
Avatar of ob1_
ob1_

asked on

How do I create a user in Oracle?

I have installed a new Oracle server. I am trying to create a user so I can import a database (DMP file).

I am using this command: "create user SAMPLE identified by password;" but it comes back with "SP2-0640 - Not connected".

how do I create user so I can import database from DMP file??
Avatar of Alex Matzinger
Alex Matzinger
Flag of United States of America image

Make sure that your server is up and running
Avatar of ob1_
ob1_

ASKER

it is i guess - i had to issue a "connect" statement and then i was able to create user.



sqlplus "/AS SYSDBA"
<enter your password>
Startup

Open in new window


Then you will be able to create users
ASKER CERTIFIED SOLUTION
Avatar of Alex Matzinger
Alex Matzinger
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Avatar of Mark Geerlings
Mark Geerlings
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial