How to connect Mysql in Visual Studio 2015?

1

I have Visual Studio 2015, I created a project and I want to connect three databases in it (Firebird, Paradox and MySql), initially MySql .

I created a new project like this: C# > Windows > Classic Desktop > Windows Form Aplication (I do not know if it's the same one I should create, I'm still a beginner).

I followed this tutorial to connect to the bank of data.

In it, I'm directed to click on Server Explorer > Add Connection > Selecionar MySql

However, this option does not appear to me. They appear:

  

Access, ODBC, SQL Server, and Oracle.

How do I include MySql in this option?

    
asked by anonymous 17.11.2016 / 13:36

1 answer

1

You need to install the MySQL database provider.

Here is the link for installation.

You do not need to log in, just click on the link as shown below, after downloading, follow the steps of the installer.

AftertheinstallationrestartthevisualstudioandchoosetheDataSourcethatyouwant.

Seetheimagebelowwithwhatyouneedafterinstallation.

Regarding the description.

  

I created a new project like this: C # > Windows > Classic Desktop > Windows   Form Aplication (I do not know if it's the same one I should create, I'm a beginner   still).

So you need to better understand what you're going to do exactly, each type of project taking you to different paths.

    
17.11.2016 / 14:44