28

I'd like to match locally the same version of phpmyadmin installed in my production server. Is there a way to upgrade the version of Phpmyadmin in MAMP to the last version without breaking it?

I upgraded MAMP but the latest version do not include the updated PhpMyAdmin, just an old version.

1
  • Have you tried to download the latest version and replace the one in the subfolder of MAMP? Nov 2, 2011 at 0:52
65

Download the latest version from here.

Find and replace Applications/MAMP/bin/phpMyAdmin ( MAMP local folder directory) with the latest phpMyAdmin you downloaded.

Don't change the folder name (keep the folder name on "phpMyAdmin").

Make sure you have config.inc.php in the /phpMyAdmin folder. As mentioned below, you can copy that file over from your existing phpMyAdmin folder.

8
  • it worked! My folder was named just "phpMyAdmin". Very easy, thanks.
    – Andycap
    Nov 19, 2011 at 13:10
  • I tried upgrading the version by replacing the folder but it didn't work. Well it did but it had be login but before it didn't. Does this mean there is a problem? I don't know the username/pass to my phpMyAdmin, where could I find it? In httpd.conf? Thanks in advance!
    – Nathan
    Apr 30, 2012 at 21:13
  • 4
    @Nathan the default user/pass for mamp is root/root - worked for me.
    – Reuben
    Nov 6, 2012 at 3:07
  • 1
    I'm using MAMP and renamed Applications/MAMP/bin/phpMyAdmin to Applications/MAMP/bin/phpMyAdminOLD. I copied phpMyAdmin4.0.6 all languages directory to Applications/MAMP/bin/phpMyAdmin and restarted the MAMP services. Nothing happens when I click on the phpMyAdmin link in the MAMP Start Page.
    – CalvinS
    Sep 18, 2013 at 13:55
  • 1
    Mine was located in "Library/Application Support/appsolute/MAMP PRO/bin/phpMyAdmin" for some reason. Feb 18, 2016 at 11:40
19

If you have MAMP PRO replace the /phpMyAdmin installation folder in the following folder: /Library/Application Support/appsolute/MAMP PRO/

0
17

I had the same problem as @Nathan and followed these steps to get the latest phpMyAdmin working. [@thanaxix gave a valuable insight and the steps have been refined here]

  1. Get the latest phpMyAdmin
  2. Copy the config.inc.php file from /Applications/MAMP/bin/phpMyAdmin to the desktop.
  3. Delete the phpMyAdmin folder from /Applications/MAMP/bin/phpMyAdmin
  4. Unzip the phpMyAdmin file you downloaded, rename the resulting folder to phpMyAdmin [syntax is important here] and copy it to /Applications/MAMP/bin/
  5. Copy the config.inc.php file from your desktop to /Applications/MAMP/bin/phpMyAdmin. 6. I would suggest you make one edit to config.inc.php. On line 61 you will need to add a blowfish secret in between the single quotes:

    $cfg['blowfish_secret'] = '';
    
  6. Start up MAMP Pro and when you choose the phpMyAdmin tab you should be directed to your updated phpMyAdmin.

Hope this helps.

1
  • 2
    +1 because this is the best laid out answer but I wouldn't suggest they delete the old PhpMyAdmin. Just rename it and then they can just drag the old config.inc.php and skip steps 1,2 and 5. Oct 2, 2013 at 19:06
1

first remove older version:

sudo apt-get remove phpmyadmin

sudo apt-get purge phpmyadmin

and type:

sudo add-apt-repository ppa:nijel/phpmyadmin
sudo apt-get update
sudo apt-get install phpmyadmin
0

If you have upgraded from MAMP to MAMP Pro, you only have to update the phpMyAdmin folder in "Applications/MAMP/bin/phpMyAdmin", even though the /Library/Application Support/appsolute/MAMP PRO/ exists. As mentioned before, keep the config.inc.php file and copy it back inside the folder.

1
  • You can use backticks to help format your answer better. Just a suggestion. Mar 7, 2013 at 10:40
0

For Windows 10 users with MAMP PRO installed phpMyAdmin is not loaded from the default MAMP/bin/phpMyAdmin folder.

  • Download the phpMyAdmin version you want
  • Navigate to C:\Users\Public\Documents\Appsolute\MAMPPRO
  • rename phpmyadmin to phpmyadmin_old
  • copy the newly downloaded phpMyAdmin here and rename the folder to phpmyadmin note that it's all lowercase here
  • Copy config.inc.php from phpmyadmin_old to phpmyadmin
  • Restart MAMP services

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.