Hi I am trying to connection my Database using ssl.
On windows I do:
mysql -uUuss -pPaass -P3306 --ssl --ssl-ca="C:\OpenSSL-Win64\newcerts\ca-cert.pem"
And it's work
How to do the same on the JDBC:
StringSql = jdbc:mysql://localhost:3306/ndf?characterEncoding=utf8&useSSL=true&serverSslCert="C:\OpenSSL-Win64\newcerts\ca-cert.pem"
MySql.Initialize2("com.mysql.jdbc.Driver", StringSql,BaseConnect.LoginB,BaseConnect.MDP)
On windows I do:
mysql -uUuss -pPaass -P3306 --ssl --ssl-ca="C:\OpenSSL-Win64\newcerts\ca-cert.pem"
And it's work
How to do the same on the JDBC:
StringSql = jdbc:mysql://localhost:3306/ndf?characterEncoding=utf8&useSSL=true&serverSslCert="C:\OpenSSL-Win64\newcerts\ca-cert.pem"
MySql.Initialize2("com.mysql.jdbc.Driver", StringSql,BaseConnect.LoginB,BaseConnect.MDP)