1

How to install MySQL Connector on a Mac and communicate and retrieve information from the database? When I install Connector not macOS option (remember that I want to install MySQL Connector for .NET)
I expect this to be very simple but I can't find how to do it because I'm fairly new to Visual Studio for Mac ecosystem.

Mondonno
  • 161
  • 1
  • 15

1 Answers1

3

In Project -> Manage NuGet Package -> Search for Mysql -> Install it -> Done

  • I was using vscode so I needed to first install the nuget package manager: https://stackoverflow.com/questions/40675162/install-a-nuget-package-in-visual-studio-code/47856617 Then I had to instal `mysql.data` (I think it was the first option). Then vscode asked me to restore the project, and finally the linking was all set (imports recognized in the code). – Jimbo Jan 14 '21 at 02:19