DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/)
-   Oracle (http://www.daniweb.com/forums/forum129.html)
-   -   password for sql plus (http://www.daniweb.com/forums/thread74704.html)

naren228 Apr 9th, 2007 10:07 am
password for sql plus
 
i hav just installed oracle 8i on my laptop
but i am not able to open the sql plus
what is the user name & password??
i hav tried scott &tiger but not working
please reply soon

debasisdas Jun 6th, 2007 8:43 am
Re: password for sql plus
 
When oracle is installed it creates a number user almost 20.
At the time of installation except the DBA accounts all others are LOCKED by default.
Which can be unlocked at the time of installation orlater on by logging in through the DBA accounts.

In your case it seems SCOTT account is locked.

u can login as SYS/AS SYSDBDA

then unlock the scott account
by

alter user scott identified by tiger account unlock;

Hope that helps u in solving your problem.

grii_19 Apr 26th, 2008 12:59 pm
Re: password for sql plus
 
i am having the same problem for oracle 9i .........
i downloaded it and installed it ...
but i just cant log-in ...

any clues how to resolve this problem

jwenting Apr 26th, 2008 2:52 pm
Re: password for sql plus
 
same way... Log in to the admin console and unlock the account(s) you want to use.

jwenting Apr 26th, 2008 2:52 pm
Re: password for sql plus
 
And to be on the safe side for the future:
It works that way in Oracle 10g and Oracle 11i as well, and in Oracle XE as well.

grii_19 Apr 26th, 2008 4:57 pm
Re: password for sql plus
 
jwen ...

but i am new to this ....
so have no clue on how to login as admisn console ?
how to do tht ... can ya elaborate it ..

thanks for the help

jwenting Apr 27th, 2008 2:30 am
Re: password for sql plus
 
check your product documentation.

alit2002 May 7th, 2008 11:26 am
Re: password for sql plus
 
Quote:

Originally Posted by grii_19 (Post 593820)
jwen ...

but i am new to this ....
so have no clue on how to login as admisn console ?
how to do tht ... can ya elaborate it ..

thanks for the help



Have you created a database? If so you would have specified the SYS and SYSTEM passwords. If you haven't done this bit then run the Database Configuration Assistant to help you create a database. If you have created a database and you are using sqlplus you may have to configure your tnsnames.ora file using the net configuration assistant.

Then you could connect using sqlplus

SYSTEM/passwd@tns_servicename

Regards

Alistair


All times are GMT -4. The time now is 3:55 am.

Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC