Luke Brandon Farrell
Luke Brandon Farrell

Reputation: 511

Drupal on Localhost (MAMP)

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

Answers (2)

MilanG
MilanG

Reputation: 7124

To summarize this, you can export database in many ways:

  1. Backup & Migrate module, as ssnobody suggested.

  2. 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

  3. phpMyAdmin (find one in Control panel or install one on your own), as Chandu suggested http://docs.phpmyadmin.net/en/latest/setup.html

  4. Use Drush.

I ordered it from easier to hardest....so try #1 first....

Upvotes: 1

user4628565
user4628565

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

Related Questions