Connecting to OracleXE
Posted: 01.06.2006, 15:06
Hello,
I'm really sorry having to repost this question, but unfortunately the previous one (along with an helpful answer) was lost during the webhosting switch.
I'm having troubles connecting to Oracle (and OracleXE) DB.
- Oracle XE (or Oracle) is installed locally
- I understand I need a TNS to connect to an existing DB.
What I don't understand is which parameters are needed when connecting. I usually (Firebird, MySQL, ...) give a server URL, DB name, username and password.
One of the line in tnsnames.ora is
Thanks in advance.
I'm really sorry having to repost this question, but unfortunately the previous one (along with an helpful answer) was lost during the webhosting switch.
I'm having troubles connecting to Oracle (and OracleXE) DB.
- Oracle XE (or Oracle) is installed locally
- I understand I need a TNS to connect to an existing DB.
What I don't understand is which parameters are needed when connecting. I usually (Firebird, MySQL, ...) give a server URL, DB name, username and password.
One of the line in tnsnames.ora is
Do I have to give the filename and path as server URL ? Only the 'XE' identifier ? I'm afraid Google haven't been really helpful so far. Anyone care to enlighten me, or point me in the right direction ?XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = myserver)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
)
)
Thanks in advance.