I am getting
at MySql.Data.MySqlClient.MySqlStream.OpenPacket()
   at MySql.Data.MySqlClient.NativeDriver.Authenticate411()
   at MySql.Data.MySqlClient.NativeDriver.Authenticate()
   at MySql.Data.MySqlClient.NativeDriver.Open()
   at MySql.Data.MySqlClient.Driver.Create(MySqlConnectionStringBuilder settings)
   at MySql.Data.MySqlClient.MySqlConnection.Open()
when trying to connect to the local database using a .Net application. I updated MySQL from 5.6.34 to 8.0 and this could be the problem.
I granted all privileges to root and added another root user with '%' as host, created a new user and grant it all the privileges but none of that worked. The root and the accounts I added work fine through the command line and another python script I created to test the connection but not through the app I am trying to use. I also tried to add skip-grant-tables to my.ini and restart the service but couldn't start if after adding that line.
| user             | host      |
+------------------+-----------+
| amine            | %         |
| root             | %         |
| amine            | localhost |
| mysql.infoschema | localhost |
| mysql.session    | localhost |
| mysql.sys        | localhost |
| root             | localhost |
I am not sure but could it be the .Net connector version that could cause that Error as the version we used to use is older than the one installed now. Thanks
