The connection to the database server could not be established.

The error message of the database server:
1045: Access denied for user 'root'@'ip-172-31-42-102.sa-east-1.compute.internal' (using password: NO)