HI! I have problem to secure connection Mysql server with my desktop app.
I want to encrypt my password.
I heared about RSA or SSL but i don't know how to use it.
Please help me. This is how i connect:
private MySqlConnection connection;
private string server;
private string database;
private string uid;
private string password;
private void Initialize()
{
server = "localhost";
database = "databaseName";
uid = "username";
password = "password";
string connectionString;
connectionString = "SERVER=" + server + ";" +
"DATABASE=" + database + ";" + "UID=" + uid + ";" +
"PASSWORD=" + password + ";";
connection = new MySqlConnection(connectionString);
}