フィルターのクリア

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

5 ビュー (過去 30 日間)
Doris Brand
Doris Brand 2020 年 11 月 30 日
コメント済み: Guido Avvisati 2023 年 2 月 20 日
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 件のコメント
Gregory Lanier
Gregory Lanier 2021 年 9 月 22 日
Hi @Doris Brand. I would also like to know if you solved the error.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeDatabase Toolbox についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by