I have a couple of old blogs on Digital Ocean on a LAMP stack. I recently wanted to shift them to a new Nginx based server.
I created a new VPS and installed the ee stack and created the first website for domain1.com using the simple WP setup in EE and imported old files using this tutorial - Migrate Website
However, when I try to test the website on http://w.x.y.z/domain1/I get a database connection error. Some observations:
- My old setup had the wpconfig in the var/www/domain1/ folder and not outside it - the ee setup has it outside it
- The database name, user name, and password were different.