Having Trouble moving my Wordpress site offline using MAMP
-
Ok. I am utterly stumped!! I have read and read about how to use MAMP and install and offline version of Wordpress. This I can do, but my goal is to have a mobile copy of my hosted website on a USB drive. I have the latest version of MAMP installed. I can get a fresh copy of wordpress to come up when I point to the htdocs folder within the application. But when I point the document root to my USB drive to look for the wordpress files, it will not read. I get the error, "cannot connect to database." After troubleshooting for about two days, I now have the error 404 "the requested URL is not on the server". Here is my current config. On the MAMP side. I have the document root pointing to my usb drive where my wordpress files are located. USB/Sites/Magazine My SQL database has been exported and imported into the MAMP myPhpAdmin page with the same database name. I have updated the Options table for Home and Site to reflect localhost In the wordpres file wp-config.php file I have ensured the database name is the same, and I have changed the User to root and password to root. In spite of all this, I cannot get it to connect and load wordpress. Any Ideas recommendations would be appreciated. As I am completely stumped since I have followed the MAMP tutorial from Linked In Learning, and I have watched numerous videos on how to do this online. I even went so far as to create my own certs for SSL. (No, it isn't even in the same ball park of a problem) . I know that now. But what stumps me is that if I create a blank database, everything will work fine, I just cannot get an existing database to connect. Any recommendations would be really appreciated. I'm sorry, I would have uploaded the screenshots, but it appears that I cannot upload to this forum.