Categories: Development

Installing phpMyAdmin on Ubuntu 16.04

Here is a quick and easy install guide for phpMyAdmin on Ubuntu 16.04 if you have LAMP setup which is Apach, MYSQL and PHP. phpMyAdmin is a web app for database management and interaction.

The first step is to update and download the phpMyAdmin from the default Ubuntu repositories:

sudo apt-get update
sudo apt-get install phpmyadmin

Choose apache2 for the server selection

Yes for dbconfig-common asking to setup the database.

You will be asked for the database administrator password and then asked to set the phpMyAdmin username and password.

Next enable the extension php5-mcrypt:

sudo php5enmod mcrypt

Restart apache:

sudo service apache2 restart

And that’s it, you can now access phpMyAdmin by going to:

http://YOURIPorDOMAIN/phpmyadmin

Replacing YOURIPorDOMAIN with your servers ip address or the domain if it is associated with the ip.

Share

Recent Posts

Kennington reservoir drained drone images

A drained and empty Kennington reservoir images from a drone in early July 2024. The…

2 years ago

Merrimu Reservoir drone images

Merrimu Reservoir from drone. Click images to view larger.

2 years ago

Early September spring shots

Some early September spring shots from a bushwalk, It is still too early for wildflowers.

3 years ago

Cloning an NVMe to SK Hynix Platinum P41 NVMe

I recently needed to clone over a smaller NVMe to a 2TB SK Hynix Platinum…

3 years ago

Using Laravel’s deleteDirectory to delete folders and their contents

If you ever needed a simple solution in Laravel to delete an entire directory and…

3 years ago

How to allow only 1 user to register in a Laravel application

How to enforce only one user to register or be registered in a Laravel web…

3 years ago