Revert minimum MySQL version to 5.1