Fixed the mysql version lock for default charset encoding