Connection error to Azure MySQL from Visual Studio 2012 Ultimate

I have visual studio 2012 Ultimate on my machine and am trying to connect MySQL on Azure using MySQL .Net Connector 6.8.3

Below is my connection string
Server={Server};Port=3306;Database={DbName};Uid={user};Pwd={pwd};sslMode=Prefered;

However I am getting below error while opening the connection.
Authentication failed because the remote party has closed the transport stream.

Can anyone please help to resolve this error?

Thanks,
Rahul

0 answers