mysql (maria-db) passwd change

  • IMSCP 1.3.8
    Debian 8.6
    10.0.28-MariaDB



    MySql Password change (10.0.28-MariaDB)
    is there is a special approach and are there updated instructions for that?


    Code
    1. perl imscp-autoinstall -dr sql


    Regards

  • Which SQL user password exactly?

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • Today my jacket was stolen incl a USB stick w/ the server passwords ...
    I have already changed all the other passwords, I do not want to damage anything here w/ mysql root pw changing
    so it's really urgent ;-)
    Thank you for a quick response

  • Re,


    SQL
    1. # mysql -u root -p'<current_pwd>'> SET PASSWORD FOR 'root'@'localhost' = PASSWORD('newpass');> SET PASSWORD FOR 'root'@'127.0.0.1' = PASSWORD('newpass');> SET PASSWORD FOR 'root'@'::1' = PASSWORD('newpass');>\q


    Shell-Script
    1. # cd <imscp-1.3.8-archive-directory>
    2. # perl imscp-autoinstall -dasr sql

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206