# How can I connect database oracle with Mathematica

I try to connect to an Oracle database with Mathematica but I get this error:

DBC::classnotfound: oracle.jdbc.driver.OracleDriver"

My code:

OpenSQLConnection[
JDBC["oracle.jdbc.driver.OracleDriver", "jdbc:oracle:thin:@ip_server:databasename"],


I tried to use this instruction to connect database:

https://stackoverflow.com/questions/7178647/how-to-connect-an-oracle-database-to-mathematica

but this yields the same result.

I can connect to mySQL database but with Oracle databases I have this problem.

• Welcome to Mathematica.SE! 1) As you receive help, try to give it too, by answering questions in your area of expertise. 2) Take the tour and check the faqs! 3) When you see good questions and answers, vote them up by clicking the gray triangles, because the credibility of the system is based on the reputation gained by users sharing their knowledge. Also, please remember to accept the answer, if any, that solves your problem, by clicking the checkmark sign!
– user9660
Dec 16, 2015 at 11:39
• You need to specify some additional information, like what Mathematica version you are running, on what OS, what Oracle driver (name, version) you downloaded and where you installed it. Dec 16, 2015 at 12:56

Needs["JLink"];
`