Date: 03/17/01
- Next message: Kristian Koehntopp: "[phplib] Not using PHPLIB (was: phplib migration into PEAR])"
- Previous message: Jess: "Re: [phplib] OK What am I doing wrong."
- Next in thread: Philip Strnad: "Re: [phplib] Database Problem"
- Reply: Philip Strnad: "Re: [phplib] Database Problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello,
When i am accessing the file in which i have just written the coed to link to database it is giving me error like this.
Warning: Unable to connect to ORACLE (ORA-12154: TNS:could not resolve service name) in
c:/www/phplib/php/db_oracle.inc on line 48
Database error: connect() Link-ID == false (), ora_plogon failed
Oracle Error: 0 ()
Session halted.
I have given the parameters for the database as
var $Host = "localhost";
database is oracle and it is installed in my system.
var $Database = "horde";
I have created the DSN as horde.
var $User = "horde";
I have created the user as horde
var $Password = "horde";
I have given the password as horde
Are these values i have given for the parameters are right or not.Why it is giving me the error.CAn any one please help me....
Thanks in advance
Murthy.
- Next message: Kristian Koehntopp: "[phplib] Not using PHPLIB (was: phplib migration into PEAR])"
- Previous message: Jess: "Re: [phplib] OK What am I doing wrong."
- Next in thread: Philip Strnad: "Re: [phplib] Database Problem"
- Reply: Philip Strnad: "Re: [phplib] Database Problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

