My mysql database dump is fine but when I go to restore it on a new server which uses mariadb it will only partially restore and then throw an error;
#1071 - Specified key was too long: max key length is 767 bytes
I have found that when I'm installing with a program it works when I use Force UTF-8 collation on database" and "Force UTF-8 collation on tables" but I don't know how to do that when I just have the raw sql file - help?