Add support for gb18030/MySQL 5.7