필터 지우기
필터 지우기

Unable to load bundle binary [path...]m​wlibmysql_​builtinimp​l.dll. Error: 126: not connected

조회 수: 6 (최근 30일)
Dear all,
I try to get a MySQL Native Interface running.
I installed the drivers for both the ODBC (MySQL ODBC 8.0 ANSI Driver) and the Native (MySQL Connector C++ 8.0) version,
and I got the ODBC version running both in the Database Toolbox and via the command line (telling me that the connection to the database SHOULD work),
but when I try to use the native version I always end with the same error message.
My script file is as follows:
server = 'my.database.server.url';
dbName = 'mydatabase';
username = 'myuser';
password = 'myuserpasswd';
drivertype='native';
vendor = 'MySQL';
datasource='MySQLNative';
opts = databaseConnectionOptions(drivertype,vendor)
opts = setoptions(opts, ...
'DataSourceName', "MySQLDataSource", ...
'DatabaseName', mydatabase, 'Server', server, ...
'PortNumber', 3306)
status= testConnection(opts, username, password)
If I run this script I get the error message
"Unable to load bundle binary D:\MATLAB\bin\win64\builtins\database_builtins\mwlibmysql_builtinimpl.dll. Error: 126: not connected"
Could please anybody help me to find my mistake?
Thanks,
Doris
  댓글 수: 3

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

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

제품

Community Treasure Hunt

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

Start Hunting!

Translated by