Skip to Main Content
  • Questions
  • Configuring Personal ORacle With Developer 2000

Breadcrumb

Question and Answer

Tom Kyte

Thanks for the question, David.

Asked: July 19, 2000 - 1:54 am UTC

Last updated: November 13, 2003 - 10:30 pm UTC

Version: Personal Oracle 8.1.5.0.0

Viewed 1000+ times

You Asked

Hi Tom! Hope you can help me out with this problem.
I have Personal Oracle 8.1.5.0.0 installed on my PC. I also have
Oracle Developer Release 6.0. I wish to connect from Developer
to this version of Personal Oracle. Please advise what to do and
how to go about it.

Thanks,

David D'Lima


and Tom said...

You need to be running Net8 and use a tns connect string in this case. This is because D2K 6.0 is based on 8.0 software (client software) whereas 8.1 is not. We need to use sqlnet to connect this 8.0 client to the 8.1 server.

So, you need to make sure your sqlnet listener is running under 8.1.5 -- you'll configure the listener.ora to get it up and running. That file will be found in $ORACLE_HOME\network\admin and will look something like:

# LISTENER.ORA Network Configuration File:
# Generated by Oracle configuration tools.

LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS=(PROTOCOL=TCP)(HOST=tkyte-del)(PORT=1521))
)
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
)
)
)

SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oracle)
(PROGRAM = extproc)
)
(SID_DESC =
(GLOBAL_DBNAME = tkyte816)
(ORACLE_HOME = C:\oracle)
(SID_NAME = tkyte816)
)
)

Yours will be similar but different. You can verify if your listener is running via:

C:\oracle\network\ADMIN>lsnrctl status

that'll show you if it is. If not, you can use lsnrctl start to start it (and you can set the service to "automatic" to get it to start on your next reboot).


Then, you need to make sure you have configured your TNSNAMES.ORA in your D2K oracle home (NOT in the 8.1 oracle home). D2K will be looking at its $ORACLE_HOME\net80\admin (note the directory name is different). That tnsnames.ora should have an entry like:

mylocaldatabase =
(DESCRIPTION =
(ADDRESS=(PROTOCOL=TCP)(HOST=tkyte-dell)(PORT=1521))
(CONNECT_DATA=(SID=tkyte816))
)


Now, you can log in with the D2K user/pass@mylocaldatabase syntax....






Rating

  (4 ratings)

Is this answer out of date? If it is, please let us know via a Comment

Comments

Configuring Personal ORacle With Developer 2000

janet ang, December 16, 2001 - 4:34 am UTC

I have been installed PO817 on my notebook but i could only access the DB using the user/pass but if i added the connect string i would always get the No Listener error. I didnt know what to do and kept on tinkering with the listener.ora and tnsnames.orac but to no avail. I have also consulted other DBA's but the only help they could give me was create another database which i didnt want to do. Previously with PO7 it was no problem cause the @local would always work.

Thank you so much, you've been a big help.


ORA-205

Richard, December 19, 2001 - 2:33 pm UTC


Hi Tom,
How do resolve this problem that ''ORA-205: Can not mount database''.
The error causes the database starter to fail even though i followed the process you described.
am using V8.1.5.0.0

How to find

atul, October 24, 2002 - 10:50 pm UTC

Sir,

If you go to fresh set up...How to know that two different oracle homes are set??? or this set up is using single oracle home

Thanks.
atul

Tom Kyte
October 25, 2002 - 6:11 am UTC

use the oracle home chooser (tiny application, should be on the start menu) to pick your oracle home. there will be a list there of all of the ones you have.

okay good

Khalid Majeed, November 13, 2003 - 10:30 pm UTC

this is use full. but i know it already.