I am getting this error while installing WordPress using Windows platform installer 5.0 on a Windows Server 2012R2.
Currently I have a php site with mySQL on that se
Finally found the solution.
I had Connector/Net 6.9.9 installed
I uninstalled it and then Installed Connector/Net 6.4.6
Old version of Connector can be downloaded here(https://dev.mysql.com/downloads/connector/net/)