Reputation: 511
I am working on a website for a client and I need to download a Drupal site and run it on localhost (MAMP).
The website is hosted here and I have FTP access https://cloud.digitalocean.com/
I downloaded all the files from the FTP and pasted it in my "htdocs" but it's either a blank Drupal page or I get database access errors. I'm guessing I need to download a SQL database from the website, but how can I do this?
Upvotes: 0
Views: 151
Reputation: 7124
To summarize this, you can export database in many ways:
Backup & Migrate module, as ssnobody suggested.
If you have shell access you can export database with shell command: https://www.digitalocean.com/community/tutorials/how-to-import-and-export-databases-and-reset-a-root-password-in-mysql
phpMyAdmin (find one in Control panel or install one on your own), as Chandu suggested http://docs.phpmyadmin.net/en/latest/setup.html
Use Drush.
I ordered it from easier to hardest....so try #1 first....
Upvotes: 1
Reputation:
you can open the cpanel of this website, open the phpmyadmin and export the database to an sql file, and import this file locally.
access the control panel here
https://www.digitalocean.com/features/control-panel/
Upvotes: 0