Fix version requirements for MySQL.

CakePHP requires 5.1.10, as that is the first version that
information_schema.referential_constraints was added. This table is
required to do foriegn key reflection.

Fixes cakephp/cakephp#3583
Update MySQL version number in other languages.

Refs cakephp/cakephp#3583