Problem with SSL

Problem with SSL

Postby Eduardo » Thu 01 Jun 2006 19:12

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???....
Eduardo
 

Postby Alexey » Tue 06 Jun 2006 07:25

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?
Alexey
 
Posts: 2756
Joined: Mon 13 Mar 2006 07:43


Return to dotConnect for MySQL