MySQL Database Connector

Connect to MySQL database.
Updated 10 Oct 2005

No License

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

Cite As

Robert Almgren (2024). MySQL Database Connector (, MATLAB Central File Exchange. Retrieved .

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

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes