Reputation: 165
I am creating a project with ASP.NET and which would be connected on our University website and their currently using XAMPP MySQL on their system so I need to adjust on their database technology at the same time I want to implement Entity Framework of C# for faster development. Thanks you.
Ive already tried adding references on the project like MySQL.Data and installing MySQL Connector for Visual Studio but turns out it is for the MySQL not the XAMPP MySQL.
Upvotes: 1
Views: 4156
Reputation: 1503
You can connect to your MySQL db in Visual Studio by going to the Server Explorer and click on the Connect to Database. Then select Microsoft ODBC Data Source and click continue. Make sure you enter your connection string. This might be of help to you : https://www.youtube.com/watch?v=EhqknuizUKk
Upvotes: 1