I am trying to setup a few simple SQL scripts to help with some short term DB administration. As such, I\'m setting up variables to try to make it easier to reuse these scri
You may have error
Error Code: 1267. Illegal mix of collations for operation 'like' 0.016 sec
In this case you need to specify the same collation as used for your table like that:
SET @email = 'test@test.com' COLLATE utf8_unicode_ci;