Try to connect to MySql via SSL from .net, and gets error.
I following the solution from the link. and get error: Received an unexpected EOF or 0 bytes from the transport stream
http://dev.mysql.com/doc/connector-net/en/connector-net-tutorials-ssl.html?acf=1#add-comment
Anyone help?
I test to remove CertificateFile and CertificatePassword. It works. However, I don't think this is secured under SSL.
using (MySqlConnection connection = new MySqlConnection(
"server=xxx.com;port=3306;database=test;user=test;pwd=testpass;" +
"CertificateFile=C:\\xxxx\\client.pfx" +
";CertificatePassword=xxxxx;" +
"SSL Mode=Required"))
{
connection.Open();
}
Subject
Written By
Posted
Try to connect to MySql via SSL from .net, and gets error.
November 06, 2015 12:02AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.