[unixODBC-support] Connect to Oracle

Nick Gorham nick.gorham at easysoft.com
Fri Jan 11 09:27:56 GMT 2008


Bruno Gomes wrote:

>I'm trying to connect a local oracle data-base using php.
>using: "isql LOCAL user pass" i can connect to my db, but when i make a
>querie, i get the message:
>[ISQL]ERROR: Could not SQLPrepare
>
>i think that can be my odbcinst.ini that is not good configured.
>can someone tell me if this is the right configuration:
>[Oracle]
>Description     = Oracle Driver
>Driver          = /usr/lib/odbc/libodbctxt.so
>Setup           = /usr/lib/odbc/liboraodbcS.so
>FileUsage       = 1
>
>
>  
>
Err, no, thats using the text driver, you need to install a oracle driver.

-- 
Nick Gorham
Easysoft Limited
http://www.easysoft.com, http://www.unixODBC.org




More information about the unixODBC-support mailing list