why varbinary instead of varchar [duplicate]
Mediawiki changed from varchar to varbinary in early 2011: War on varchar. Changed all occurrences of varchar(N) and varchar(N) binary to varbinary(N). varchars cause problems (“Invalid mix of collations” errors) on MySQL databases with certain configs, most notably the default MySQL config.