Installing PHPmyAdmin 5.1 on MacOs Big Sur 11.1 using MAMP 6.x

Pedro Mejía
2 min readApr 15, 2021
Illustration: phpAdmin

The goal of this tutorial is to install and run PHPmyAdmin 5.1 on a Mac using Big Sur as Operative System. There are several ways to install PHPmyAdmin on a Mac, and from my perspective, the easiest way to do so is by using MAMP, which is a free Apache or Ngnix web server app that will spin a virtual instance of a web server in your local computer, which you can access through a local browser by pointing it to http://127.0.0.1:8888 or http://localhost:8888. Note that “local” means in your own computer.

Apache and Ngnix uses what they call a “public folder”, which is the directory located at /var/www/html for Apache and /usr/local/nginx/html for Ngnix, and any files placed there will be executed when you go to http://127.0.0.1:8888 or http://localhost:8888.

Prerequisites:

MacOS Big Sur V 11.11

MAMP V.6.x

Steps:

  1. Go to https://www.phpmyadmin.net/downloads/ and download: phpMyAdmin-5.0.4-all-languages.zip
  2. Extract the files on your working directory, for this example I will leave it on the ‘downloads’ folder, but you can choose any on your system.
  3. Open MAMP and select as working directory the folder where you exactracted the downloaded folder.
For the basic MAMP users it will look like this, and where it says “Document root” is where you need to specify your working directory.
For the MAMP PRO users it will look like this, and where it says “Document root” is where you need to specify your working directory.

4. On the top right corner of MAMP press “START” to turn on the server

5. Open your browser and point it to http://127.0.0.1:8888 and you will see the PHPmyadmin screen, indicating that you did everything allright.

6. Use ‘root’ as user name and ‘root’ as password, and done, you are inside PHPmyAdmin.

7. done! :)

--

--