Reputation: 517
In one of my project, I am getting this error while accessing the website.
When I restarted RDS instance, the problem was solved and website was running.
After 2 days, again I am getting the same error. But after restarting RDS, Problem is solved. I am not able to figure out this problem. Please help.
Upvotes: 1
Views: 2574
Reputation: 109
I had the same issue with AWS Lightsail.
Solved as follows :
test ! -f "/opt/bitnami/common/bin/openssl" && echo "Approach A" || echo "Approach B"
test -d /opt/bitnami/mariadb && echo "MariaDB" || echo "MySQL"
DB_USER
and DB_PASSWORD
as set from database instance
(https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-connect-wordpress-to-mysql-managed-database):
sudo systemctl restart apache2
orsudo service apache2 restart
Upvotes: 0
Reputation: 88
Look at this tutorial, it covers the whole process but you may skip to the last part: Using Amazon RDS with your WordPress installation
Upvotes: 1