Thursday, April 5, 2007

mysql ado.net driver working in medium trust

While running your asp.net 2.0 application under medium trust is a good thing in general - one problem is taht is doesn't allow for MySQL access. The way of getting it to work is a two step process


  1. A recompiled driver - mysql ado.net driver for medium trust

  2. Tweaking the medium trust configuration - adding mysql access to web_mediumtrust.config

No comments: