fix mysql config about pk.