Support MariaDB 10.x in the mysql module

The MariaDB version number has jumped ahead of MySQL and is now at 10.x.