Hi.. Welcome to the forums...

You have declared SQL as a String and in the code, you are doing this:
Code:
SQL = " UPDATE boomtable SET Tab1 = 'OPEN' WHERE Tab1 = 'CLOSED' "
                SQL.ExecuteNonQuery()
where, the second line is invalid. Because, SQL is not a MySqlCommand object !. You've declared it as a String !