Search code examples
phpmyadminmamp-pro

PhpMyAdmin not working since update to MAMP 5.0


Since my update to MAMP Pro 5.0.3, phpMyAdmin does not work anymore. I just get the "Index of /phpMyAdmin"... I have tried to change port, but i had to come back to my config to make my websites running. It is port 3306 for MySQL. I have tried to restart, re-install phpMyAdmin, re-install MAMP Pro, but issue is still there. The connexion from my websites to MySQL is ok and websites works. But i can't make phpMyAdmin running... Any advices ?


Solution

  • I had this issue today too, and resolved it with the following steps:

    1. Download the latest stable version of phpMyAdmin
    2. Back up your old phpMyAdmin directory located at /Library/Application Support/appsolute/MAMP PRO/phpMyAdmin
    3. Unzip the new downloaded version of phpMyAdmin - mine was called phpMyAdmin-4.8.3-all-languages
    4. Move this folder to /Library/Application Support/appsolute/MAMP PRO/. You should now have 2 phpMyAdmin folders in there - your original folder, phpMyAdmin and the new folder, phpMyAdmin-4.8.3-all-languages
    5. Copy the config.inc.php file from your original phpMyAdmin folder to the new one - you will have to confirm it's OK to overwrite - but please make sure you are definitely not overwriting your old one
    6. Rename your original phpMyAdmin folder to phpMyAdmin.old (or whatever you want) and rename the new one to phpMyAdmin.
    7. Restart the MAMP servers. Navigate to http://localhost/phpMyAdmin or http://localhost:8888/phpMyAdmin` if you are using default ports, and you should have your phpMyAdmin back.