>>>>> "Ron" == Ron Reidy <[EMAIL PROTECTED]> writes:

Ron> Can you connect to this database using SQL*Plus in the same manner?
Ron> From the error docs:

Ron> $ oerr ora 12154
Ron> 12154, 00000, "TNS:could not resolve service name"
Ron> // *Cause:  The service name specified is not defined correctly in the
Ron> // TNSNAMES.ORA file.
Ron> // *Action:  Make the following checks and correct the error:
Ron> //           - Verify that a TNSNAMES.ORA file exists and is in the
Ron> proper
Ron> //             place and accessible. See the operating system specific
Ron> manual
Ron> //             for details on the required name and location.
Ron> //           - Check to see that the service name exists in one of the
Ron> //             TNSNAMES.ORA files and add it if necessary.
Ron> //           - Make sure there are no syntax errors anywhere in the
Ron> file.
Ron> //             Particularly look for unmatched parentheses or stray
Ron> characters.
Ron> //             Any error in a TNSNAMES.ORA file makes it unusable. See
Ron> //             Chapter 4 in the SQL*Net V2 Administrator's Guide. If
Ron> //             possible, regenerate the configuration files using the
Ron> Oracle
Ron> //             Network Manager.

That helped, tx, Ron!

[...]

Ron>   ORA-12154: TNS:could not resolve service name (DBD ERROR:
Ron>   OCIServerAttach) at ...
 
Ron> DBI::connect('DBI','dbi:Oracle:abc','batman','secret','HASH(0x82d7910)')
Ron>   called at ...

[...]
-- 
        Claude

Reply via email to