Support » Installing WordPress » Trouble connecting to RDS DB from WordPress on EC2

  • Hi,
    I am trying to set up WordPress on AWS EC2 with the DB in AWS RDS. After I get everything up and go to wordpress/wp-admin/install.php I get a Error establishing a database connection error.

    Here is everything I have checked while trying to debug this:
    1. I have double and triple checked the DB credentials in the wp-config.php file
    2. I have added the salting details from
    3. I have checked that the DB is up and running in RDS.
    4. I have SSH’ed into the EC2 instance where WordPress is deployed and logged onto the DB using the mysql cli command mysql -h -u <USER> -p This works fine. I can see a DB with the current name. So I know it is not a network issue.

    Out of ideas at this point. Open to suggestions at this point.

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.