Installation (reconfiguration) fails

  • Hey Guys,


    i lost a paper with my SQL pw and i had to set a new one.
    I did:


    Code
    1. sudo /etc/init.d/mysql stopsudo mysqld_safe --skip-grant-tables &mysql -urootuse mysql;update user set password=PASSWORD("mynewpassword") where User='root';flush privileges;quitsudo /etc/init.d/mysql stopsudo /etc/init.d/mysql start


    Then i did


    Code
    1. perl /usr/local/src/imscp-1.3.0/imscp-autoinstall -dr sql


    And now i get the following error (attached).


    Any ideas?



    Version: 1.3.0
    OS: Debian Jessie



    kind regards

    Files

    • dada.png

      (18.33 kB, downloaded 17 times, last: )
  • try 127.0.0.1 as host


    or try this to fix the problem:


    Code
    1. # mysql -h 127.0.0.1 -u root -p
    2. # CREATE USER 'root'@'localhost' IDENTIFIED BY '<password>';
    3. # GRANT ALL PRIVILEGES on *.* to 'root'@'localhost' WITH GRANT OPTION;
    4. # flush privileges;
    5. # quit