mySQL root password

  • I set up a fresh OMV4 vm for testing, patched it, included OMV Extras and installed nginx, letsencrypt and mySQL.


    After starting mySQL, I tried to log into the management tool as root. I tried no password, my root password and I used the function to specify a new root password, neither of those options worked for me to login.


    I want to setup a database for nextcloud.


    It probably would be better to use Docker, but I am a little confused using this nice tool. I did not get my nextcloud running within docker.



    Edit: I tried to upgrade directly from OMV3 -> OMV4 with running plugins (Letsencrypt, MySQL, Nginx) and migration worked quite will despite some PHP issues for Nextcloud (GD, ZIP, cURL missing). Also I was able to login to my mySQL-install using the provided web tool. On a fresh OMV4 I still can't set my root password for mySQL through the OMV GUI.

    Chaos is found in greatest abundance wherever order is being sought.
    It always defeats order, because it is better organized.
    Terry Pratchett

    Einmal editiert, zuletzt von riff-raff ()

  • Have now changed over the console the password for the user omvadmin and then it worked.



    Code
    mysql -uroot -p
    SET PASSWORD FOR 'omvadmin'@'localhost' = PASSWORD(''YOURPASSWORD);



    Funny that it did not work before.

    • Offizieller Beitrag

    But seriously, its written somewhere else we suppose to discover it by ourself ??

    Uhhh... Did you read the text on the plugin itself? I thought it was pretty clear.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    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!

Jetzt mitmachen!

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