invalid byte sequence for encoding "UTF8" - sqlalchemy30 Jan 2014 Try putting ?charset=utf8 at the end of your connection string, like:'mysql+mysqldb://user:pass@111.111.111.111/rf?charset=utf8'