Page 1 of 1

Problem with SSL

Posted: Thu 01 Jun 2006 19:12
by Eduardo
Hi, I've a MySQL server with SSL and I can't connecto to it using the MySQLDirect...

I have this:

Dim myConn As MySqlConnection = New MySqlConnection("host=localhost;protocol=SSL;user=root;password=mypass;database=test")
myConn.SslOptions.CACert = "file://c:\CA-cert.pem"
myConn.SslOptions.Cert = "file://c:\client-cert.pem"
myConn.SslOptions.Key = "file://c:\client-key.pem"
myConn.Open()

But when I try to open the connection I receive a "Access denied" message.

If I turn off the "require SSL" option on the server then connection is done but without SSL.

Any help???....

Posted: Tue 06 Jun 2006 07:25
by Alexey
Unfortunately, we can't reproduce this error. Whatever we do we get "Lost connection to MySql server during query" message but not "Access denied". What privileges do your root user have?