  | | | can 't use ssh on odbc to connect mysql | can 't use ssh on odbc to connect mysql 2007-11-20 - By -not available-
Back Hi! I want to use ssh on odbc to connect mysql,but i encounter a problem: i can use the command bellow to connect to the server(192.168.1.2): (at localhost)mysql -u xxxx -p --ssl-ca=d:\myssl\cacert.pem --ssl-cert=d:\myssl \client-cert.pem --ssl-key=d:\myssl\client-key.pem
or
(at 192.168.1.1) mysql -h 192.168.1.2 -u xxxx -p --ssl-ca=d:\myssl\cacert.pem --ssl-cert=d: \myssl\client-cert.pem --ssl-key=d:\myssl\client-key.pem
but when i use ODBC,it return the "[MySQL][ODBC 5.1 Driver]SSL connection error "
my environment is below:
Server: Linux node02 2.6.18-8.1.8.el5 openssl-0 (See http://ssl-0.ora-code.com).9.8g mysql-5 (See http://sql-5.ora-code.com).0.45 192.168.1.2
Clinet: win2000 mysql-5 (See http://sql-5.ora-code.com).1.22 ssl ca:cacert.pem ssl cert:client-cert.pem ssl key:client-key.pem ssl path:d:\myssl
I have tried MySQL ODBC 3.51.22,the same problem is happen.what's wrong?
|
|
 |