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…

1 year ago

Merrimu Reservoir drone images

Merrimu Reservoir from drone. Click images to view larger.

1 year ago

FTP getting array of file details such as size using PHP

Using FTP and PHP to get an array of file details such as size and…

2 years ago

Creating Laravel form requests

Creating and using Laravel form requests to create cleaner code, separation and reusability for your…

2 years ago

Improving the default Laravel login and register views

Improving the default Laravel login and register views in such a simple manner but making…

2 years ago

Laravel validation for checking if value exists in the database

Laravel validation for checking if a field value exists in the database. The validation rule…

2 years ago