This C++ Mex-function lets you connect to a MySQL database server. The results of SELECT queries are converted to MATLAB native datatypes. Data can be inserted into the database (slowly) by construcing the INSERT string in MATLAB. It can connect to several servers simultaneously (or multiple connections to one server). See mysql.m for usage instructions. Must be compiled before use; brief instructions are in the C++ file or try http://mmf.utoronto.ca/resrchres/mysql/
Robert Almgren (2024). MySQL Database Connector (https://www.mathworks.com/matlabcentral/fileexchange/8663-mysql-database-connector), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!