Issue #1856262 by chx, pwolanin: Raise MySQL requirement to 5.1.21 to support caching of prepared statements.