Skip to main content

200 posts tagged with "Errors"

Common Errors and Troubleshooting in Programming

View All Tags

Fixed: MySQL Connection Stays on SERIALIZABLE After TransactionScope with MySql.Data

· 5 min read
Jagdish Kumawat
Founder @ Dewiride

I used a TransactionScope once, and afterwards a plain query on the same pooled connection reported its isolation level as SERIALIZABLE. The scope's default level is Serializable, the driver sets it for the whole session, and nothing puts it back. Passing the level you want avoids all of it.