O
Olecia12
C#:
private void Input(object sender, EventArgs e)
{
try
{
string myConnection = "Datasource =localhost; username = Vika; password=190194; SslMode=none";
MySqlConnection myConn = new MySqlConnection(myConnection);
myConn.Open();
MessageBox.Show("Connection");
myConn.Close();
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
}