No Suitable Driver with JDBC 2020b

19 次查看(过去 30 天)
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.

回答(1 个)

Tarunbir Gambhir
Tarunbir Gambhir 2020-10-29
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.

类别

Help CenterFile Exchange 中查找有关 Database Toolbox 的更多信息

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by