Why does matlab crash when I try to query from my database(MySql)?
조회 수: 3 (최근 30일)
이전 댓글 표시
After updating MySQL (ver.: 8.0.12) MATLAB crashes every time I try to query from the database (MATLAB has encountered an internal problem and needs to close.). I can successfully connection to the DB, but it crashes when I ty to query. I only encounter the problem when trying to query from the DB, otherwise MATLAB seems to run as normal. I encounter the same problem in 2017b and 2018a.
댓글 수: 2
Geoff Hayes
2018년 8월 15일
Öyvind - what is your query? What do you expect it to return? (i.e. how many records are querying for?)
채택된 답변
Kojiro Saito
2018년 8월 20일
I think this is the same issue as described in this answer. It might be related to MySQL ODBC 8.x drivers.
There are two workaround.
2. Use JDBC drivers instead of ODBC.
I'm using MySQL JDBC driver 8.0.11 with MATLAB R2018a, it works.
추가 답변 (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!