+1 vote
14 views

Hello everyone! I'm new to C# and have many questions in mind. One of my questions is How can I use MySql Database in my c# project? Currently I am using *SQL as database server but I am facing difficulties in SQL Syntax and have no much knowledge in SQL so, I want to migrate my projects to MySql. If anybody have a solution, please help me!
Thanks in advance!

by (1.4k points)   | 14 views

1 Answer

0 votes

You can add MYSQL Reference by using NuGet.

Simply open NuGet and search for MySql.Data and install it to your project.

Then use MySqlConnection object instead of SqlConnection in your c# project

by (3.3k points)  

Related questions

+1 vote
1 answer
+1 vote
1 answer
asked May 26 by toheed (1.4k points) | 25 views
+1 vote
1 answer
0 votes
1 answer
+2 votes
1 answer
asked Jun 5 by toheed (1.4k points) | 18 views
+1 vote
2 answers
+2 votes
1 answer
+2 votes
0 answers
asked Jun 12 by toheed (1.4k points) | 25 views




Welcome to Meansflow - Where Developers and Students Learn, Share, & Build Careers, where you can ask questions and receive answers from other members of the community.
118 questions
90 answers
43 comments
115 users