MySQL datadir

  • I am trying to setup MySQL, but I can not change the data directory. I was able to do so on OMV 3 by adding datadir = *********** into the extra options, but this crashes MySQL in OMV 4. Any way to change the data directory? Thanks.

    • Official Post

    OMV 4.x uses mariadb for mysql. It still supports the datadir option. I'm guessing permissions are wrong. This would also be a good opportunity to switch to docker since I'm not going to maintain the mysql plugin anymore. There are a couple of videos that show setting a mysql docker up here - https://forum.openmediavault.o…ntermediate-and-Advanced/ - I think nextcloud is one.

    omv 8.0.8-1 synchrony | 6.17 proxmox kernel

    plugins :: omvextrasorg 8.0.2 | kvm 8.0.4 | compose 8.1.2 | cterm 8.0 | borgbackup 8.0.2 | cputemp 8.0 | mergerfs 8.0 | scripts 8.0.1 | writecache 8.1


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!