admin管理员组文章数量:1122846
i am facing the issue of 3 WordPress websites on the same Amazon s3 instance. when I open wp-admin in all of them, it shows an error in the database connection. frontend is all working ok. it's just a backend I am facing the issue.
i am facing the issue of 3 WordPress websites on the same Amazon s3 instance. when I open wp-admin in all of them, it shows an error in the database connection. frontend is all working ok. it's just a backend I am facing the issue.
Share Improve this question edited Oct 2, 2024 at 9:07 fuxia♦ 107k38 gold badges255 silver badges459 bronze badges asked Oct 2, 2024 at 6:18 Gaurav JainGaurav Jain 11 bronze badge 3- The database connection should be the same. Do you have caching set up e.g. Cloudfront? Your front end origin server might be broken too, but the cached version is still working. – Rup Commented Oct 2, 2024 at 10:09
- Oh you said S3 instance. Did you mean EC2 instance? S3 is static. If you have a static copy of your site on S3 then it wouldn't notice if the database broke. – Rup Commented Oct 2, 2024 at 10:10
- The obvious questions though are: 1) is the database configuration correct? 2) is the database running?. Can you connect to the database from elsewhere, and from a command-line client on the server you're running WordPress on? Where is the database, on the same box or on RDS? Are there firewalls / VPC security rules between the host server and the database? etc. – Rup Commented Oct 2, 2024 at 10:12
1 Answer
Reset to default 0First of all, you should check the DB Configuration at wp-config.php, is the name and the db user+pw correct? Does the DB User have all the necessary permissions to the DB? Is the DB Server running at all?
You find more info how wp config should like over here: https://help.dreamhost.com/hc/en-us/articles/214693268-WordPress-wp-config-php-overview
本文标签: error establishing database for all wordpress on same instance
版权声明:本文标题:error establishing database for all wordpress on same instance 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736285634a1927499.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论