Error in database toolbox

조회 수: 3 (최근 30일)
Dion Theunissen
Dion Theunissen 2022년 8월 1일
답변: Abhijeet 2023년 9월 5일
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
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
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:
  1. Install MySQL driver by referring to the following link: https://www.mathworks.com/help/releases/R2021a/database/ug/mysql-native-interface-for-windows.html
  2. In Step 1 of the link above, ensure that you install the "MySQL Native Interface".
  3. Try entering the credentials again in Database Explorer or follow all the steps in the link above.
I hope this helps you.

카테고리

Help CenterFile Exchange에서 Database Toolbox에 대해 자세히 알아보기

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by