How to connect Mysql in Visual Studio 2015?

Asked

Viewed 3,603 times

1

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

I created a new project like this: C# > Windows > Classic Desktop > Windows Form Aplication (I don’t know if this is the one I should create, I’m beginner yet).

Follow that tutorial to connect to database.

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

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

Access, ODBC, SQL Server and Oracle.

How do I include Mysql in this option?

1 answer

1


You need to install the Mysql database provider.

Here is the link to install.

No login required, just click on the link as shown below, after downloading, follow the installer’s steps.

inserir a descrição da imagem aqui

After the installation restart the visual studio and choose the Data Source that you.

See the image below with what you need after installation.

inserir a descrição da imagem aqui

Referring to description.

I created a new project like this: C# > Windows > Classic Desktop > Windows Form Application (I don’t know if this is the one I should create, I’m a beginner yet).

That you need to better intend what you will do exactly, each type of project lead you to different paths.

  • Thank you. so I have to find one of these too for Firebird and Paradox?

  • 1

    I was able to connect in mysql and Paradox. I will find the one in Firebird. and also learn to manipulate the tables. thanks anyway

Browser other questions tagged

You are not signed in. Login or sign up in order to post.