I am having problem configuring a MySQL connection string for C# using SSL. Not using SSL this works;
sting conString ="server=myIPAddress;uid=myUser;pwd=securePassword;database=myDatabase"
Looking into how to do this found this page
http://dev.mysql.com/doc/connector-net/en/connector-net-tutorials-ssl.html
In the MySQL Server configuration file, set the SSL parameters as follows:
ssl-ca=path/to/repo/mysql-test/std_data/cacert.pem
ssl-cert=path/to/repo/mysql-test/std_data/server-cert.pem
ssl-key=path/to/repo/mysql-test/std_data/server-key.pem
Adjust the directories according to the location in which you installed the MySQL source code.
Problem is I have no idea where the MySQL Server configuration file is or how to set it. This has to be simple enough to do. Just cannot find out how.
sting conString ="server=myIPAddress;uid=myUser;pwd=securePassword;database=myDatabase"
Looking into how to do this found this page
http://dev.mysql.com/doc/connector-net/en/connector-net-tutorials-ssl.html
In the MySQL Server configuration file, set the SSL parameters as follows:
ssl-ca=path/to/repo/mysql-test/std_data/cacert.pem
ssl-cert=path/to/repo/mysql-test/std_data/server-cert.pem
ssl-key=path/to/repo/mysql-test/std_data/server-key.pem
Adjust the directories according to the location in which you installed the MySQL source code.
Problem is I have no idea where the MySQL Server configuration file is or how to set it. This has to be simple enough to do. Just cannot find out how.