mail_api.install specifies a column for the mail_api_servers table that is named after the keyword default. This is extremely bad and fails in PostgreSQL, as it should. You can name it with double quotes for it to work in PostgreSQL but I have no idea if that would work for MySQL. You'd be better renaming the column entirely.