When you are creating your DB context (in the constructor) you can define the name of the connection string you'd like to use.
public class MyContext: DbContext
{
public MyContext() : base("MyContext")
{
}
public MyContext(string connectionString): base(connectionString)
{
}
}
Entity framework will look in your app.config or web.config for a connections tring with the name MyContext
alternatively you can directly input the full connection string into the constructor and connect to your database.
For example:
<connectionStrings>
<add name="MyContext" connectionString="data source=localhost;initial catalog=mydatabasename;integrated security=true;multipleactiveresultsets=True;application name=EntityFramework" providerName="System.Data.SqlClient"/>
</connectionStrings>
how this relates back to you.
All you need to do is put in the server name, the username and password you use to connect to your mysql instance. If you have the correct database providers configured, visual studio will do all the work for you of setting up the connection strings.