queryMySQL

Platform independent MySQL database solution with blob support.
4.6K Downloads
Updated 22 Jun 2012

View License

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 (2024). queryMySQL (https://www.mathworks.com/matlabcentral/fileexchange/28237-querymysql), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired by: Access a MySQL database

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
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