Skip to content

Instantly share code, notes, and snippets.

@barancev
Created June 8, 2019 11:13
Show Gist options
  • Save barancev/6f7a4134a2687d26ecd2fc8a881df922 to your computer and use it in GitHub Desktop.
Save barancev/6f7a4134a2687d26ecd2fc8a881df922 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<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.9.3.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d" />
</DbProviderFactories>
</system.data>
<connectionStrings>
<add name="AddressBook"
connectionString="Server=localhost;Port=3306;Database=addressbook;Uid=root;Pwd=;charset=utf8;Allow Zero Datetime=true" providerName="MySql.Data.MySqlClient" />
</connectionStrings>
</configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment