Moved the MySQL API as external.

One must include the MySQL API in order to use it, this is so that the
ones that doesn't use MySQL doesn't include it by default.