0

I'm trying to set up wordpress on my ec2 instance on AWS, following the instructions here.

I have wordpress installed and unzipped, and was at the point where I needed to set up my database.

In my ec2 instance, all my wordpress files are in /var/www/html...they are no longer inside a folder called 'wordpress', though.

In my wp-config.php file, I have my database name, password, and salts all set. I also ran GRANT ALL PRIVILEGES ONwordpress-db.* TO "wordpress-user"@"ip-XXX-XX-XXX"; (where wordpress-db, wordpress-user are my correct names, and I'm using the ip for my database's hostname value).

I've tried rebooting my instance, starting and stopping it, and have checked that mysql and httpd are running, but I still can't connect to the database! Am I missing something?! Any leads would be much appreciated!!!

tx291
  • 1,251
  • 6
  • 24
  • 42

0 Answers0