Disable MySQL on snap install

Nextcloud version (eg, 18.0.2):
Operating system and version (eg, Ubuntu 20.04): Ubuntu 20.04
Apache or nginx version (eg, Apache 2.4.25): Nginx 1.16.1
PHP version (eg, 7.1): 7.4

We are using a remote MySQL database. How do we disable the local mysql from starting in the Snap package?

It may not be possible with snap. Have you considered docker instead? I think it would easily connect to an external DB and since MySQL is a separate container you could simply not define it.


The Nextcloud VM is also an option.

Docker is just an extra layer. Good in some cases sure, but not for everything, if you ask me.

Also you can install it without Snap, Docker or VM.
My preferred action for smal installations.



1 Like