queryMySQL
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://www.mathworks.com/matlabcentral/fileexchange/28237-querymysql), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired by: Access a MySQL database
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
queryMySQL/
queryMySQL/src/+edu/+stanford/+covert/+db/
queryMySQL/src_test/+edu/+stanford/+covert/+db/
| 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.
|
||
| 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 |
