Posted By

jink on 06/18/10


Tagged

mysql webconfig provider


Versions (?)

ASP: Altering web.config to allow MySQL outside of GAC


 / Published in: ASP
 

Add the System.Data config settings for MySql. Update the version to number referenced.

  1. <system.data>
  2. <DbProviderFactories>
  3. <remove invariant="MySql.Data.MySqlClient"/>
  4. <clear/>
  5. <add name="MySQL Data Provider" invariant="MySql.Data.MySqlClient" description=".Net Framework Data Provider for MySQL" type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data, Version=6.2.3.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d"/>
  6. </DbProviderFactories>
  7. </system.data>

Report this snippet  

You need to login to post a comment.