Dazu soll folgender Code dienen
- Code: Select all
MySqlConnection con = new MySqlConnection();
con.ConnectionString = "DataSource= (local);" +
"Initial Catalog = personen";
con.Open();
Leider gelingt das nicht und es kommt die Meldung
"Unable to connect to any of the specified MySQL hosts."
Sicher habe ich als Anfänger den connectionString nicht richtig formuliert.
Kann mir jemand helfen? Vielen Dank
Lali