There was a problem connecting to the database: SQLSTATE[HY000] [1698] Access denied for user 'root'@'localhost'

Hello everyone,

We have just installed a fresh Ubuntu 20.04 and we are trying to migrate our Passbolt installation. We have successfully reached up to step 4 of this guide (Passbolt Help | Migrate an existing Passbolt CE to a new Ubuntu server) and when we attempt to execute Step 5, we are given the following error.

Any idea what might be causing this issue?
thank you.

    ____                  __          ____  
    / __ \____  _____ ____/ /_  ____  / / /_ 
   / /_/ / __ `/ ___/ ___/ __ \/ __ \/ / __/ 
  / ____/ /_/ (__  |__  ) /_/ / /_/ / / /    
 /_/    \__,_/____/____/_.___/\____/_/\__/   

 Open source password manager for teams
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
 Running migration scripts.
-------------------------------------------------------------------------------
using migration paths 
 - /etc/passbolt/Migrations
using seed paths 
 - /etc/passbolt/Seeds
Exception: There was a problem connecting to the database: SQLSTATE[HY000] [1698] Access denied for user 'root'@'localhost'
In [/usr/share/php/passbolt/vendor/robmorgan/phinx/src/Phinx/Db/Adapter/PdoAdapter.php, line 95]

Hi @mlakatamitis ,

Step 5 uses credentials provided in /etc/passbolt/passbolt.php configuration file. Can you check them if they match with the one you defined during mysql installation ?

You should use passbolt mysql user (defined in passbolt package post-installation) instead of root user.

Best,