how to specify default user defined veriable mysql code example Example: how to create a variable in mysql -- MySQL SET @variable_name := value;