Upgrading phpmyadmin on Ubuntu 12.04 LTS

Ubuntu 12.04 LTS includes an old version of phpmyadmin so I was trying to figure out how to upgrade it.

The following PPA is the one to add:

ppa:nijel/phpmyadmin

see https://launchpad.net/~nijel/+archive/phpmyadmin?field.series_filter=precise

but I could not get the command add-apt-repository to work

The following page http://ubuntugeek.com/forum/index.php?topic=4196.0 has a command to fix this:

apt-get install python-software-properties

once this command has been run then add-apt-repository ppa:nijel/phpmyadmin will work!

Once the command has been run then the phpmyadmin package will get automatically included next time you run the package updates.

Finally I noticed that there were some errors showing when trying to browse any database.   This can be fixed by importing the following file, using the “import” tab in phpmyadmin.

/usr/share/doc/phpmyadmin/examples/create_tables.sql.gz

When selecting the import tab I made sure I was in the “home” screen rather than selecting an existing database.

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s