MYSQL inquiry

  • hi.
    i made a fresh install due to SSD crashed. Its been a while since i installed OMV, and was wondering what is the proper permission of MYSQL databse folder.
    I have this MYSQL-Data folder residing in one of my DataDisk. When i tried to enable MSQL plugin, it gave me error about that folder permission.
    How to do set it properly. I prefer the CLI way, not ACL gui please.


    Thanks

    • Offizieller Beitrag

    it has to be owned by the user running the daemon. Most common cases is mysql username


    To try first chown mysql -Rv folder/


    In regards to the permissions I've seen that when mysql starts clean it usually creates the db's in 700 mode. But it might not be necessary, mysql ownership should be enough.

Jetzt mitmachen!

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