| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.server -> Re: Problems Connecting Oracle database XSQL and/or JSP via apache
On Thu, 24 Oct 2002 02:39:42 +0000, Mark Starmer wrote:
>> Sounds as if you attempt to connect using OCI whithout having installed
>> OCI.
>>
>> What does your connect string in Java look like?
>>
>> DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
>> Connection conn =
>> DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:your_sid",
>> "scott", "tiger");
>>
>> Cheers,
>>
>> dmz17
OCI is the c language bases JDBC driver from Oracle. It assumes you installed the client software. If you did not, you need to use the thin driver. It is a Java implementation of SQLNet.
The connect string therefore might not be OK, after all.
Cheers,
dmz17 Received on Thu Oct 24 2002 - 10:22:44 CDT
![]() |
![]() |