Hab hier nen problem.
Das hier ist der code um in die DB zu connecten...
Codestring server = textBox1.Text; string id = textBox2.Text; string pw = textBox3.Text; string accdb = textBox4.Text; string shardb = textBox5.Text; string connString = "Server=" + server + ";Database=" + accdb + ";Uid=" + id + ";password=" + pw + ";"; MySqlConnection conn = new MySqlConnection(connString); MySqlCommand command = conn.CreateCommand(); command.CommandText = "Select Rank from Members Where ID ='" + id + "'";Er ließt also die Textboxen aus und fügt alles in den connString ein (um den connection befehl zu vervollständigen)
Doch er kann irgendwie net connecten
weiß jemand wieso?
Versuch mal:
Bevor du irgendwelche Queries ausführst.