PDOException Access denied

Hello, this is my first time using this web hosting service and I would like to ask why I keep on getting this same error in accessing the database.

Uncaught PDOException: SQLSTATE[HY000] [1045] ProxySQL Error: Access denied for user ‘username here’ (using password: YES) in /storage/ssd3/316/19881316/public_html/Ohana/src/database/Database.php:20

Here is the code for the Database.php
Database
Login

I have read many forums at this point and had made sure that I correctly inserted the necessary information in their respective variables.

Thank you for your time in reading this post, and I hope that everyone will have a wonderful day ahead!

I had fixed this issue. It turns out that the auto generated password does not let me enter the database.

What I did was to create my own password, though unsafe, made the app run.