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;