[gdal-dev] [EXTERNAL] oci and oracle express 11

Jukka Rahkonen jukka.rahkonen at mmmtike.fi
Thu Apr 10 03:06:32 PDT 2014


Martin Landa <landa.martin <at> gmail.com> writes:

> 
> Hi,
> 
> 2014-04-10 3:27 GMT+02:00 Smith, Michael ERDC-RDE-CRREL-NH
> <Michael.Smith <at> erdc.dren.mil>:
> > If <user>/<passwd> <at> xe works in sqlplus, you can use that in OGR.
Its using
> > the same libs to connect.
> >
> > Try ogrinfo -ro OCI:<user>/<passwd> <at> xe
> 
> I already tried that but without success...
> 
> ERROR 1: ORA-12154: TNS:could not resolve the connect identifier specified
>  in <unnamed>

What we have is
- environment set as TNS_ADMIN=path/to/directory
- tnsnames.ora file in the TNS_ADMIN directory 
- entry in tnsnames.ora as described in http://orafaq.com/wiki/Tnsnames.ora
- GDAL connection as OCI:<user>/<passwd> <at> entry_made_above


-Jukka Rahkonen-



More information about the gdal-dev mailing list