From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to use dsn file, connect to mysql

Brzhou123_0-1593448677069.png

Refer to the snapshot, the profile" Test" is okay, use odbc 8.0 driver to mysql 5.7

But when i call it in labview, report errors:

 

NI_Database_API.lvlib:DB Tools Open Connec (String).vi->Check MAC Status.vi<ERR>ADO Error: 0x80004005
Exception occured in Microsoft OLE DB Provider for ODBC Drivers: [Microsoft][ODBC Driver Manager] The specified DSN contains an architecture mismatch between the Driver and Application in NI_Database_API.lvlib:DB Tools Open Connec (String).vi->Check MAC Status.vi

 

 

Could any body give some comments ?

Thanks.

 

 

 

Keep moving
0 Kudos
Message 1 of 2
(1,682 Views)

Already fixed the issue, use the dsn file to access the mysql.

Thanks.

Keep moving
Message 2 of 2
(1,631 Views)