Find mysql config setting for the snap image

Hi can anyone help me to find the mysql setting files in the snap install of NEXTCLOUD

Hi aquanuna.

The configuration for the snap packages is read-only. You can find it at /snap/nextcloud/current/my.conf.
Here is the configuration file for all snap installations on GitHub: https://github.com/nextcloud-snap/nextcloud-snap/blob/master/src/mysql/my.cnf

It does not contain the variable you probably are searching for: read_rnd_buffer_size
According to the documentation, the default value for read_rnd_buffer_size is 262144 bytes. Iā€™m not very fimilar with mysql configuration but looks like this value is not exactly what you want.

If you want to suggest a different value or there is something else you want to suggest, feel free to open an issue here: Issues Ā· nextcloud-snap/nextcloud-snap Ā· GitHub :slight_smile:

1 Like

Hi aquanuna and @Pilzinsel64

on version 29.0.4snap2 there is no such file /snap/nextcloud/current/my.conf

Is there an update or the snap version has a different configuration?

I also check the github and the my.conf is very different from usual mysql config. It does not have inno_db configs, etc.

Does nextcloud make some processing for the final mysql config file?