07-22-2013 04:42 AM
Hi all,
I'm using TS 2012 SP1 to run very simple sequences (few sequence calls in the same file and some simple tests without any adapters) with the sequential model (see attachements). Each time database logging step fails with error -2147352567 on statement STEP_RESULT.
This means I cannot log my step results in my MySQL 5.2 database (UUT_RESULT seems to be recorded...).
My configuration is :
The database has been built using MySQL Workbench using the sql file found in the TS Components folder.
Under TS, the schema used is a simple duplication of MySQL Insert schema delivered with TS. (see attachements).
Any idea of what's happening ? Any workaround ?
Solved! Go to Solution.
07-25-2013 05:22 PM
zyl7 -
1) Is there any additional information in the error that TestStand is raising?
2) If you choose the TestStand default schema do you get the same error?
3) Have you tried to see if the TestStand results will log with the "Use On-The-Fly Logging" option unchecked? If this also errors, what is the error specifically?
07-26-2013 01:55 AM
Hi Scott,
1) Is there any additional information in the error that TestStand is raising?
=> Nothing else (see pic attached), TS considers its a user-defined error.
2) If you choose the TestStand default schema do you get the same error?
=> If you mean 'generic recordset' schema, it's intended to be used with MS SQL or Access. If I chosse the default MySQL schema it produces the same error. My schema is a simple duplication of MySQL schema without any modifications (except its name).
3) Have you tried to see if the TestStand results will log with the "Use On-The-Fly Logging" option unchecked? If this also errors, what is the error specifically?
=> With On-the-fly logging it produces the same error.
07-30-2013 03:46 PM
Hi,
I have been able to log successfully to this version of mySQL, so I'm not sure why it would be failing on your end. A couple other things to try:
07-31-2013 09:10 AM
Hi Al,
=> No error, connection test passed
2. Are you able to log to the database successfully outside of TestStand?
=> SQL requests from MySQL Workbench (or any other SQL IDE) work fine.
=> I even can write in 'STEP_RESULT' table using the sequence attached to this post.
08-02-2013 06:37 AM
Problem fixed !
I upgraded the MySQL ODBC driver to version 5.2.5 (instead of 5.2.4) and the problem is gone !
Thanks for the help.
08-02-2013 07:14 AM
Romain DUVAL || RF & Semiconductor Staff System Engineer || CLA || CTA
National Instruments France
08-03-2013 10:46 AM
zyl7 -
Thanks for letting us know. Glad that the fix was that simple.