Oracle connect identifier problem is too long

2

I have the following problem, first the configuration of my PC.

  

SO: Fedora 20

     

PHP 5.5

     

Oracle Instant Client: 11.2.0.4.0

I try to connect via tnsnames.ora file settings and the following error occurs

ORA-12169: TNS:Net service name given as connect identifier is too long

To connect in PHP I use the extension oci8 with the oci8-2.0.6

The actual string is large, but in SQL Developer it connects normally.

    
asked by anonymous 07.02.2014 / 12:57

1 answer

1

I think I found the problem, after a lot of searching, the problem, apparently the file was created on windows where it has CR / LF and Linux only LF, just convert to standard file on Linux and it works correctly.

    
09.02.2014 / 02:36