Connecting .NET core web API project to a remote MySQL database
I recently need to work on a project to create a new web API project with an existing MySQL database. This article helped me to set up the project. However, I was only able to connect to my localhost database, not the remote database. The error I originally had was: My first attempt to solve the problem is granting privileges to my PC to be able to run queries on