Unable to load bundle binary [path...]mwlibmysql_builtinimpl.dll. Error: 126: not connected
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (0)
Siehe auch
Kategorien
Mehr zu Database Toolbox finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!