The error messages suggest that LabVIEW is not able to connect to the database server and the Open Database Connectivity (ODBC) is either not configured or configured incorrectly.
To access a database from other applications, you need to specify a Data Source name (DSN) or Microsoft Data Link file (.udl).
In LabVIEW, the LabVIEW Database Connectivity Toolkit allows you to use either of the following methods:
Instead of specifying a DSN or UDL file, you can also access a database by passing a connection strings to the DB Tool Connection.vi. Please refer to the connection strings reference guide
for the specific connection string for each database type.