[gdal-dev] Oracle spatial with gdal

jratike80 jukka.rahkonen at maanmittauslaitos.fi
Tue Feb 5 02:59:48 PST 2019


Thomas Knudsen wrote
> try user:password instead of user/password.
> 
> (Also, you *may* need a port number, server:port/service_name)

Hi,

No need to try user:password, it won't work. Just use user/password as
documented in https://gdal.org/drv_oci.html.

What I have always used for making a connection with Oracle is to use the
service name that is defined in my tnsnames.ora file
http://orafaq.com/wiki/Tnsnames.ora. For example

ogrinfo OCI:user/password at ORA12

-Jukka Rahkonen-



--
Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html


More information about the gdal-dev mailing list