PHPMyAdmin

From Indie IT Wiki
Jump to: navigation, search

HOWTO: Update phpMyAdmin On Ubuntu Linux With Git

su - www-data
cd /var/www/
cd pmadmin/
git pull
git branch -a
git branch --track MAINT_4_4_15 origin/MAINT_4_4_15
git checkout MAINT_4_4_15
git pull
git branch

Thanks - http://gitready.com/intermediate/2009/02/13/list-remote-branches.html

HOWTO: Install phpMyAdmin On Ubuntu Linux With Git

This will install the latest version of phpMyAdmin in any distribution of Linux. You then have a choice of the very latest nightly code or keeping it to the STABLE version (as below).

sudo -i
cd /var/www/
git clone https://github.com/phpmyadmin/phpmyadmin.git pmadmin
cd pmadmin/
git branch --track STABLE origin/STABLE
git checkout STABLE
git pull
mv config.sample.inc.php config.inc.php
nano config.inc.php  (change $cfg['blowfish_secret'] to include random characters)
wget --no-check-certificate -O metro-2.3.zip https://files.phpmyadmin.net/themes/metro/2.3/metro-2.3.zip
unzip metro-2.3.zip -d themes/
cd ../
chown -R www-data:www-data pmadmin/

Now, log in as 'root' MySQL user and then change the 'Theme' in Appearance Settings to 'metro'.