Opened 15 years ago

Closed 14 years ago

#2026 closed bug (fixed)

Oracle connection fails

Reported by: HansV Owned by: nobody
Priority: major: does not work as expected Milestone: Version 1.5.0
Component: Data Provider Version: 1.3.0
Keywords: oracle ogr oci Cc:
Must Fix for Release: No Platform: Windows
Platform Version: Awaiting user input: no

Description

Connection to Oracle fails. Dialog: "Create a New OGR Database connection" I entered Host, Database, Port, Username and Password

Then "Test connection" replies:

ORA-12154: TNS:could not resolve the connect identifier specified in <unnamed>

And after hitting the OK button:

Invalid Data Source OCI:Username/Password@Host/Database is not a valid or recognized data source

Even when I leave Host empty, I get an error because the slash is still in front of Database. What are the steps to make the Oracle connection work?

Change History (2)

comment:1 by pcav, 14 years ago

Milestone: Version 1.4.0

comment:2 by jef, 14 years ago

Resolution: fixed
Status: newclosed

fixed in r12927. / is now only added to database part, if there a host is specified. Also added support for port, which was ignored earlier.

Note: See TracTickets for help on using tickets.