What Connector is Needed by LabVIEW to Communicate with MySQL Server?

Updated Nov 30, 2025

Reported In

Software

  • LabVIEW
  • Database Connectivity Toolkit

Issue Details

I would like to have my LabVIEW communicate with MySQL server. What connector or driver is needed to establish communication between LabVIEW and MySQL server?

Solution

To connect LabVIEW to MySQL, you need MySQL ODBC drivers such as MySQL ODBC <version> ANSI Driver and MySQL ODBC <version> ANSI Driver which allow communication to establish between LabVIEW and MySQL Server.

 

You can use the Database Connectivity Toolkit VIs in LabVIEW to communicate with MySQL server. Below is an example of the connection string needed to have LabVIEW communicate with a MySQL server installed locally using DB Tools Open Connection VI (Functions Palette>>Connectivity>>Database) with a username of root and password of admin:
Driver={MySQL ODBC 9.0 Unicode Driver}; Server=localhost; User=root; Password=admin;

image.png