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 7.6.0-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0.1 | kvm 7.0.16 | compose 7.3.3 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.9


    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!