I am trying to use a database connector to connect to my DB from Oracle but I am a Noob and have no idea how to do it. I have downloaded the Jar drivers for ojdbc14, ojdbc6 and ojdbc7 and added them to the database within File>preferences. however I cannot seem to connect to our DB.
This is the URL i am trying to use (where host= “Hostname” and DB = db
Do I need to add the driver somewhere else on the computer? we use PLSQL developer to connect to the DB
jdbc:oracle:@Hostname:1521:db
Can any help me see what I am Missing here? I really need to do this so I can move forward.
This is the URL format: jdbc:oracle:thin:@<host>:<port>/<database_name>
You have it in drop down menu in Database Connector node. I’m using ojdbc8.jar file.
I have tried that. I have also tried installing Oracle 64 and 32 bit drivers on my computer but no luck. Here is a screenshot of the connection i am using on the database connector node.
I get this error message:
Execute failed: Could not create connection to database: Unknown host specified
thanks for the reply. I am pretty sure its correct. Is there anything else it could be? I have tried so many combinations but to no success. At one point the error message was “cannot connect to the database XXXX” does this mean I am closer in this case?
make sure you get rid of that one (keep only the newest one) in the knime config not that that driver is used for connections because that one is very old and outdated and will not work.
For the rest, you will need the right connection string and credentials