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.

  • 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 5.6.18 usul | 64 bit | 5.11 proxmox kernel | omvextrasorg 5.6.3 | kvm plugin 5.1.7
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    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!