NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Lost Connection Error to MySQL Database After First Run

TestStand: 2025 Q3 64-bit.

MySQL: 8.0.44 (Docker)

MySQL ODBC Connector: 9.5 (64-bit)

Schema: Built in MySQL Insert (NI)

 

- Tried unchecking "Share Data Link Between Executions"

- Database explorer works fine, and displays results from first runs

- Test connection works fine

- The first run works fine and logs fine, when I go to test the second UUT in the TestUUTs standard model, it fails with:

 

 

An error occurred calling 'LogResults' in 'ITSDBLog' of 'zNI TestStand Database Logging'
An error occurred executing a statement.
Schema: MySQL Insert (NI)
Statement: UUT_RESULT.
Description: [MySQL][ODBC 9.5(w) Driver][mysqld-8.0.44]Lost connection to MySQL server during query
Number: -2147467259
NativeError: 2013
SQLState: 08S01
Reported by: Microsoft OLE DB Provider for ODBC Drivers

Source: TSDBLog

 

 

There isn't any errors in my docker logs for mysql.

0 Kudos
Message 1 of 1
(36 Views)