Bug #70479 | Using Multiple MySQL UPDATE statements in an Access Passthru query fails | ||
---|---|---|---|
Submitted: | 1 Oct 2013 17:04 | Modified: | 3 Oct 2013 12:27 |
Reporter: | John Skolits | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | Connector / ODBC | Severity: | S2 (Serious) |
Version: | 5.5.32 | OS: | Windows |
Assigned to: | Bogdan Degtyariov | CPU Architecture: | Any |
Tags: | access, ODBC, updates |
[1 Oct 2013 17:04]
John Skolits
[3 Oct 2013 10:22]
Bogdan Degtyariov
Hi John, Thank you for your interest in MySQL software. I do not think it is a bug in MySQL Connector/ODBC. You are trying to execute multiple queries, but this function is not enabled in the driver by default. You have to enable the multiple query execution through the Driver Setup dialog: Details -> Connection -> Allow multiple statements [x] Or add MULTI_STATEMENTS=1 to the connection string. Note that MS Access could save the old DSN (without the multiple query option enabled), so it is better to delect/create objects in Access to make it working.
[3 Oct 2013 11:06]
John Skolits
Both those suggestions worked! Trust me, I spent hours on this and much of it on many web sites, but no-one knew the answer. Thanks for your help!!
[3 Oct 2013 12:27]
MySQL Verification Team
According last comment.