Add repair step to set MySQL collation to utf8_bin

Also set's the collation for new tables to utf8_bin

replaces #6885

@laryllian can you verify if fixes #3974

cc @DeepDiver1975 @PVince81 
@icewind1991 still no my code - please fix - and feel free to squash the commits - backport and later tracking might be easier then - THX