Growing binlogs on snap install

My binlog files (/var/snap/nextcloud/27697/mysql/) are eating up my space! I installed NC using snap (I know, I know, I was in a hurry and I’ve regretted since.)
In a non-snap install I could use MySQL to purge binlog files from a certain date (PURGE BINARY LOGS BEFORE '2021-04-01 22:00:00'; ) but how do I get into MySQL on this instance? A normal msql command does not work (reports not installed as it is installed by nextcloud snap)

Nextcloud version 20.0.9 on ubuntu 20.4 MySQL 8.0.24



nextcloud.mysql-client is what your are looking for in nextcloud-snap.
See here for more included cli utilities into nextcloud-snap: