C
C#12mo ago
Kamigaku

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
No description
No description
No description
No description
7 Replies
Omnissiah
Omnissiah12mo ago
it kinda looks like you have to grant some stuff to your user maybe there are grants only for access via ipv4
Kamigaku
KamigakuOP12mo ago
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
Omnissiah
Omnissiah12mo ago
you have to look at the database users
Kamigaku
KamigakuOP12mo ago
This screen ?
No description
Kamigaku
KamigakuOP12mo ago
Or this one ?
No description
Kamigaku
KamigakuOP12mo ago
Changed few things, now i have this error
No description
Omnissiah
Omnissiah12mo ago
a new error is something good
Want results from more Discord servers?
Add your server