Using MySQL through the .NET API

For Exago .NET Api to connect to a MySQL database add the following to the host application’s web.config file.

<system.data>
   <DbProviderFactories>
      <remove invariant="MySql.Data.MySqlClient" />
      <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.3.6.0,     Culture=neutral,     PublicKeyToken=c5687fc88969c44d" />
   </DbProviderFactories>
</system.data>

Additionally if the host application does not already have a MySQL ADO.NET Data Adapter copy the file ‘Exago/bin/MySql.Data.dll’ to the host application’s bin folder.