Make mysql/pgsql optional.