EF adding a controller can't connect to MySQL
Hi everyone,
I'm trying to create a small API that will connect to my already existing MySQL database but i'm facing issues when adding a controller through Visual Studio.
When I select a model that I have created, an error pops-up telling me that it can't connect to the database. This is invalid because my database already exist and the connector works correctly when i'm using python (with the same information).
Any idea what could happen?
Regards
7 Replies
it kinda looks like you have to grant some stuff to your user
maybe there are grants only for access via ipv4
I'm using the same account both in Python and Csharp, i'm not sure what more access i should give if it works with python
you have to look at the database users
This screen ?
Or this one ?
Changed few things, now i have this error
a new error is something good