Fix for making sure we get all of the realm hashes
Fixing the mysql connection so we're connecting with a utf8 charset