+1 vote
20 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)   | 20 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, 2020 by toheed (1.4k points) | 66 views
+1 vote
1 answer
asked May 26, 2020 by toheed (1.4k points) | 24 views
0 votes
1 answer
+2 votes
1 answer
asked Jun 5, 2020 by toheed (1.4k points) | 33 views
+2 votes
2 answers
+1 vote
1 answer
+2 votes
1 answer
+2 votes
0 answers
asked Jun 12, 2020 by toheed (1.4k points) | 55 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.
131 questions
94 answers
44 comments
134 users