I have an ASP.Net app which in one page is opening a connection to MySQL database on port 33060 to a remote Win 10 PC.
The application is running fine to my PC, but when i've upload to the server which is Windows Server 2012 then i get the error "The client and server cannot communicate, because they do not possess a common algorithm" when trying to read data from the database.
The port 33060 is available and the user has the right to read the data.
The app is running fine to every pc but not in Windows 2012 which is the production server on Internet.
The code for the connection to the MySQL database is below
Dim oConn = New MySqlConnection("server=win10pc;User Id=user;password=pass;database=database;CharSet=utf8;Convert Zero Datetime=True ;port=33060;")
I tryied everything i found about the error in this site but with no luck. The target framework is 4.6 and i have SSL on the server Windows 2012 but not on Win 10 who host the MySQL because is a home PC.
The default MySQL Port Number is 3306 NOT 33060 are you sure you are having the correct port number in you connection string?