The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.
|
 |
|
Dev Shed Forums
> Databases
> Database Management
|
Connecting to Oracle
Discuss Connecting to Oracle in the Database Management forum on Dev Shed. Connecting to Oracle Database Management forum discussing non-database specific SQL. Structured Query Language was designed to be a robust and standardized language for manipulating relational databases.
|
|
 |
|
|
|
|

Dev Shed Forums Sponsor:
|
|
|

July 16th, 2002, 12:21 AM
|
 |
The Basketball Star
|
|
Join Date: Aug 2001
Location: H-Town
Posts: 550
Time spent in forums: < 1 sec
Reputation Power: 12
|
|
|
Connecting to Oracle
The subject of this thread is the same as one I posted in the Linux forum, but now I'm having a differnt problem connecting to Oracle. My DBA is a very interesting person to say the least. For some reason, he doesn't know the password to get into my oracle. In order to even run Oracle, I have to log into Linux as "oracle" and use a password the gave to me. Then I run SQL*Plus and it opens and asks me for the username and password. I tried the same username/password as what I had to use to log into Linux, but it doesn't work. My DBA's solution was to try and use orapwd to change the password so that I can log in. I ran orapwd and it wanted filename, password, and something else that I didn't even understand. So now I'm asking you guys. I have root access, so how can I reset the Oracle password so I can actually log in and do some work?
|

July 16th, 2002, 01:17 AM
|
 |
Modding: Oracle MsSQL Firebird
|
|
Join Date: Jun 2001
Location: Outside US
|
|
|
Did you try the usual default passwords? Your "funny" dba might have left them unchanged ...
|

July 16th, 2002, 03:59 AM
|
 |
The Basketball Star
|
|
Join Date: Aug 2001
Location: H-Town
Posts: 550
Time spent in forums: < 1 sec
Reputation Power: 12
|
|
|
What are the usual defualt password. I wouldn't be surprised. I've gotta so this whole experience (moving from Windows and MySQL to Linux and Oracle) has been a learning one. With all the difficulties I've had to surpass in order to get things working, I should be able to help anybody with problems they're having. Seems like I've faced everything. Hopefully, this will be the last obstacle and I can finally go back to working on the actual site.
|

July 16th, 2002, 04:42 AM
|
 |
Modding: Oracle MsSQL Firebird
|
|
Join Date: Jun 2001
Location: Outside US
|
|
Well, notice that you can work with oracle remaining on windows, sqlplus and all management tools can control from Windows an Oracle server running on ANY platform. Just add the appropriate entry to tnsnames.ora and no need to stay in a cold, noisy server room
Anyway the default username/password are:
scott/tiger
system/manager
sys/change_on_install
Hope this helps!
|

July 16th, 2002, 02:30 PM
|
 |
The Basketball Star
|
|
Join Date: Aug 2001
Location: H-Town
Posts: 550
Time spent in forums: < 1 sec
Reputation Power: 12
|
|
Well none of the default usernames/passwords worked.  I looked into tnsnames.ora and saw the database I'm supposed to connect to, but I don't know what to change in order to control from Windows. Wouldn't I have to load some stuff in windows as well? I'm not actually working in the server room. I SSH from a windows computer.
So there's nothing I can do to like "reset" Oracle?
Thanks for your help so far. I really do appreciate it.
|

July 16th, 2002, 03:30 PM
|
 |
Modding: Oracle MsSQL Firebird
|
|
Join Date: Jun 2001
Location: Outside US
|
|
If you have the right entry in tnsnames.ora in your windows PC, you can use sqlplus or any other thing from your machine on that db server. Even create another db for test.
What was the reaction to those user/passw ?
At worst try http://home.earthlink.net/~adamshal...ssword_cracker/
Last edited by pabloj : July 16th, 2002 at 03:39 PM.
|

July 16th, 2002, 03:51 PM
|
 |
The Basketball Star
|
|
Join Date: Aug 2001
Location: H-Town
Posts: 550
Time spent in forums: < 1 sec
Reputation Power: 12
|
|
|
Okay, what would be the "right" entry? And how exactly would I go about all of this. What would I use to connect from the Windows PC. When I was trying to connect to SQL*Plus, it just said invalid username/password for all the three tries.
I'll take a look at the link, and judging from the name of the link, it sounds...interesting.
|

July 17th, 2002, 01:26 AM
|
 |
Modding: Oracle MsSQL Firebird
|
|
Join Date: Jun 2001
Location: Outside US
|
|
|
The right entry identifies correctly your db (SID ...), and gets a positive answer from a tnsping. So if user/pass are wrong from windows they won't work from linux too!
You should consider that Oracle is more "structured" than MySQL or other, and that you NEED support from your dba (but the username/password to connect and the tnsnames entry are considered standard stuff, not support).
|
Developer Shed Advertisers and Affiliates
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|