Skip to content

Request to Install MySQL JDBC Driver for MATLAB on CCR #433

@kushakumar

Description

@kushakumar

We are requesting the MySQL JDBC Driver (mysql-connector-java) to be installed system-wide on CCR so MATLAB users can seamlessly query MySQL databases without requiring manual setup.

🔹 Problem Statement:

MATLAB currently lacks the MySQL JDBC driver, preventing direct SQL queries from executing.
Users face the JDBC Driver Error:
No suitable driver found for jdbc:mysql://:/database

The only workaround is to manually install the driver for each session, which is inefficient.

Impact:
This installation will benefit all MATLAB users on CCR who need to access MySQL databases.
Reduces redundant efforts as multiple users would otherwise need to configure it manually.

Temporary Workaround (Used Currently):
Download and place mysql-connector-java-9.2.0.jar manually in the working directory.
Add it dynamically in MATLAB:
javaaddpath('/path/to/mysql-connector-java-9.2.0.jar');

This is session-based and needs to be repeated every time.

Request:
Please install MySQL JDBC Driver (mysql-connector-java) in a system-wide accessible location.
Add it to MATLAB's classpath.txt so it loads automatically for all users.

Download Link:
https://dev.mysql.com/downloads/connector/j/

If you need more details, please reach out to [email protected]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions