Error in database toolbox
3 次查看(过去 30 天)
显示 更早的评论
I got the following error when i try to set a database connection:
Error using matlab.ui.control.internal.controller.ComponentController/executeUserCallback
Error while evaluating Button PrivateButtonPushedFcn.
How can i solve this? It looks like its an issue in the toolbox but its just installed from the mathworks themselves.
1 个评论
Richard Cui
2023-1-19
Same problem here when tried to use "MySQL Data Source Configuration" from DatabaseExplorer and click the "Test" button. The above errors occurred and the DatabaseExplorer just froze.
回答(1 个)
Abhijeet
2023-9-5
Hi,
I understand you are getting error while setting up a database. You can follow the steps to resolve the issue:
- Install MySQL driver by referring to the following link: https://www.mathworks.com/help/releases/R2021a/database/ug/mysql-native-interface-for-windows.html
- In Step 1 of the link above, ensure that you install the "MySQL Native Interface".
- Try entering the credentials again in Database Explorer or follow all the steps in the link above.
I hope this helps you.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Database Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!