PHP3 Introduction Introduction to PHP and web database interfacing with MySQL. PHP3 is an HTML-embedded scripting language allowing web developers to create dynamic, database-driven websites.
| Name: |
laurent |
| Subject: |
Re: Oralce 8 function! |
| Date: |
08-17-1999 11:13AM |
you have to put a valid tns connection with the help of two files:
tnsnames.ora and listener.ora
Both of them are located in your $ORACLE_HOME/network/admin directory.
Edit them in the following way:
listener.ora:
LISTENER=
(ADDRESS_LIST=
(ADDRESS=
(PROTOCOL=tcp)
(HOST=localhost)
(PORT=1521)
)
SID_LIST_LISTENER=
(SID_LIST=
(SID_DESC=
(SID_NAME=your_db_name_goes_here)
(ORACLE_HOME=your_oracle_home)
)
)
and leave the rest of the file the way it is
tnsnames.ora:
your_db_name=
(DESCRIPTION=
(ADDRESS=(PROTOCOL=TCP) (HOST=localhost) (PORT=1521))
(CONNECT_DATA=(SID=your_db_name) (SERVER=DEDICATED))
)
Voila!
That should do it.
|
Other posts in this thread:
Reply to this post:
|
 |
Visit the PHP Forum!
New On DevShed:
Hot Forum Topics:
|