mysql
Version 1.0.0.0 (1.43 KB) by
Jozef
very simple mysql class file for working with mysql databases.
In m file just change line
obj.dbconn = database('name', 'user', 'password');
using your own data.
In main program just do connection = mysql.
Result = connection.execute('statement') executes any mysql statement and obtains data, if any, in variable result.
connection.tableExists('tableName') is true/false based on existence of the tableName in Mysql database.
Cite As
Jozef (2024). mysql (https://www.mathworks.com/matlabcentral/fileexchange/24703-mysql), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2008b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Database Toolbox in Help Center and MATLAB Answers
Tags
Acknowledgements
Inspired: Database project of Attendence system
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |