LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to use dsn file, connect to mysql

Highlighted

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
(225 Views)
Highlighted

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

Thanks.

Keep moving
Message 2 of 2
(174 Views)