Can't login to DB when running Setup

Hello all.

When setting up a NEW MODX Revolution 3.0.1-pl site we get the following error after pressing the “TEST” button:
Could not connect to the database server. Check the connection properties and try again.

[2022-10-05 12:53:14] (ERROR in xPDO\xPDOConnection::connect @ /var/www/sitename.com/core/vendor/xpdo/xpdo/src/xPDO/xPDOConnection.php : 89) SQLSTATE[HY000] [1045] Access denied for user ‘ACTUAL_USER’@‘localhost’ (using password: YES)

[2022-10-05 12:53:14] (ERROR in xPDO\xPDOConnection::connect @ /var/www/sitename.com/core/vendor/xpdo/xpdo/src/xPDO/xPDOConnection.php : 89) SQLSTATE[HY000] [1045] Access denied for user ‘ACTUAL_USER’@‘localhost’ (using password: YES)

We can login to the DB using SSH and cli and created a testdb using this account, so we are confident that the account is fine.

This is our 1st setup on Ubuntu 20.04 (never had this on 18.xx) nor on Windows. All the recommended/required extensions on installed and enabled.

We’ve also created a php script to connect to the db and pull 5 records, works fine. The DBname, DBuser and DBpassword are all correct.

Does anyone have an idea or suggestion.