MySQL Data Directory Help

  • I just updated to OMV 4 from 3, where I hade MySQL working. When I try to enable MySQL now, I get the following error:


    Nothing else has changed in the files, folders, or drive. I did not have the same problem in OMV 3. Any ideas?

  • I think I got this working by copying the files from /var/lib/mysql to the directory you listed in mysql extra options.
    Make sure you have the right permissions set on your data directory too.
    Remember to backup you databases first :)

  • I tried that

    Code
    mkdir -p /x/y/z
    chown mysql:mysql /x/y/z
    cp -rvfp var/lib/mysql/* /x/y/z/

    Worked perfectly in OMV 3, but for some reason it doesn't seem to want to take in 4.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!