Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Upgrade version of PHPMyAdmin

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.

like image 765
Andycap Avatar asked Nov 01 '11 18:11

Andycap


People also ask

What version of phpMyAdmin do I have?

Find and click on phpMyAdmin. From the main phpMyAdmin page, look to the far right side of the page. There is a block entitled “Database Server”. Look for the field named Server version or Software version.

What is the latest phpMyAdmin?

phpMyAdmin 5.2. 0 is released This release contains many new features and quite a few bug fixes.


4 Answers

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.

like image 144
Wei Lu Avatar answered Oct 04 '22 04:10

Wei Lu


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

like image 26
Camaleo Avatar answered Oct 04 '22 06:10

Camaleo


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.

like image 42
Stephen Avatar answered Oct 04 '22 04:10

Stephen


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
like image 27
Dhivin Avatar answered Oct 04 '22 05:10

Dhivin