fixed db settings to point to RDS endpoint