queryMySQL

Platform independent MySQL database solution with blob support.

You are now following this Submission

Platform independent MySQL database solution with blob support.

Only requires MATLAB >= 2008a (to support classes). Note: the code could be refactored to work with MATLAB < 2008a. Doesn't require any MathWorks toolboxes.

Cite As

Jonathan Karr (2026). queryMySQL (https://uk.mathworks.com/matlabcentral/fileexchange/28237-querymysql), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired by: Access a MySQL database

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.11.0.0

Adding email for contributor Matteo Broggi

1.10.0.0

1) Now returned bigint as (u)int64 rather than double -- thanks Pierre Martineau for the suggestion.
2) Now creating database connection with using an external java wrapper -- thanks Matteo Broggi.

1.9.0.0

Fixed support for date, time, datetime, and tiny data types.

1.5.0.0

Adding definitions of example tables and stored procedures. Properly casting returned blobs -- thanks to Jonathon parish. Added support for column names with non-alphanumeric characters -- thanks to Hachi Manzur.

1.4.0.0

Now uses MATLAB classes

1.3.0.0

Corrected javaaddpath for MySQLLoader class in example usage in queryMySQL.m

1.1.0.0

Added tags.

1.0.0.0