I get the following error:
Illegal mix of collations (latin1_swedish_ci,COERCIBLE) and (utf8_general_ci,IMPLICIT) for operation 'find_in_set'
This is the query I was trying to execute:
SELECT ID FROM xs_user_profiles WHERE ID='' AND FIND_IN_SET('1',site_structure);
I looked up the properties of this table and it has charset utf8 and collation utf8_general_ci.
This works well with all my sites so I am not sure what's going wrong.