izvini sto gnjavim ali sad sam pokusao sa ovim :
Code:
MySqlConnection mysqCon = new MySqlConnection(mysqlProv);
mysqCon.Open();
MySqlCommand db = new MySqlCommand();
db.CommandText += "INSERT INTO db(brojstana, ime, prezime, jmbg) VALUES (" + cmbBrStana.Text + "\" ," + txtIme.Text + "\"," + txtPrezime.Text + "\"," + txtJMBG.Text + ");";
db.ExecuteNonQuery();
mysqCon.Close();
i onda dobijam "Unable to connect to any of the specified MySQL hosts" ... pokusao sam sa localhost ali necee ...