How do I install Drupal?

  1. Download Drupal here. After downloading, the resulting zip file should be in your “~/Downloads” folder.
  2. Unzip this “” file. You should now see a “~/Downloads/drupal-x.x.x” folder.
  3. Move the contents of this folder to “/Applications/MAMP/htdocs”. If you are asked whether the existing file “index.php” should be overwritten, then click on the “Replace” button.
    MAMP - Move files and replace index.php
  4. Click on “Open WebStart Page”, then on the Tools > phpMyAdmin link.
  5. Create a database in phpMyAdmin and call it “drupal”.
    MAMP - phpMyAdmin - New Drupal database
    After creating the database, the message “No tables found in database.” is displayed.

    MAMP - phpMyAdmin - No tables found in database

    You can ignore this message. The database tables for Drupal are created automatically by the Drupal installation routine in the following steps.

  6. Run Drupal installation
    1. Go to “Open WebStart Page”, click on “My Website” on the top menu bar, you should now see the Drupal installation process begin.
    2. Enter the following data in the “Database configuration” step:
      • Database type: MySQL, MariaDB, Percona Server, or equivalent
      • Database Name: drupal
      • Username: root
      • Password: root
        • Host: localhost
        • Port number: 3306 / 8889
        • Table name prefix: drupal_


    3. Finish the Drupal installation process.