Changed MySQL Python adapter state ID dec to less platform-specific