No Suitable Driver with JDBC 2020b

I'm trying to connect a database to matlab, but every time I put in the driver location it says that there is no suitable driver for what I have entered. I can connect just fine through a live script, but not through the database explorer, which is apparently what I need.

Answers (1)

Please check if the operating system authentication is set up correctly and the JDBC driver is added to the MATLAB static Java class path.
See steps 3 and 4 here.
Ensure that the filename is not included in the authentication library path. This small detail is explained in the above documentation page but may be easily overlooked.

Products

Release

R2020b

Asked:

on 26 Oct 2020

Answered:

on 29 Oct 2020

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!