Sergio, Try using '?user' for you parametername. You could try the following: string connstr = "... valid connection string here ..."; MySqlParameter name = new MySqlParameter("?user",MySqlDbType.VarChar); name.Value="admin"; DataRow usr = MySqlHelper.ExecuteDataRow(connstr, "SELECT * FROM usr WHERE username=?user", name); Peter