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.0.5-1 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.11 | compose 7.1.3 | k8s 7.1.0-3 | cputemp 7.0 | mergerfs 7.0.3 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!