Mysql extension without installing mysql-server

Hi, Is it possible to add the option to install extension for databases if we do not install the database server. For example if use external DB server.
Thanks.