Quantcast
Channel: MySQL Forums - Connector/NET and C#, Mono, .Net
Viewing all articles
Browse latest Browse all 1451

Secure connection with SSL (2 replies)

$
0
0
Hi all,

I need to establish a secure connection with MySQL database. Til this time I used to connect only with unsecured string, that could have been seen with any program listening to ports. How to establish a secure connection with SSL?

My connection string is:

constr="CertificateFile=C:\ThawteCA;Host={0};UserName={1};Password={2};Database={3};SSL Mode=VerifyFull"

{0}=server_domain
{1}=username
{2}=database_pwd
{3}=database_name

Is this enough to hide usernames, passwords from listening programs?

regards,

mk

Viewing all articles
Browse latest Browse all 1451

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>