Question

How to access to phpmyadmin

Hi, I installed phpmyadmin following: How To Install and Secure phpMyAdmin with Nginx on an Ubuntu 14.04 Server

I ran:

sudo apt-get install phpmyadmin

I selected No for dbconfig-common since I already have database installed.

sudo ln -s /usr/share/phpmyadmin /usr/share/nginx/html
sudo php5enmod mcrypt
sudo service php5-fpm restart

```
When I goto http://159.203.85.69/phpmyadmin or http://159.203.85.69/phpmyadmin:8000
I got page not found error.

I website is using PHP and Laravel 5.1.

How can I remotely use phpmyadmin? Thanks.

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Do this first

sudo gedit /etc/apache2/apache2.conf

add this line somewhere

Include /etc/phpmyadmin/apache.conf

and finally restart apache.

/etc/init.d/apache2 restart

The db-config request is to set up the database used by phpmyadmin and set up your credentials so it can connect with your db server. It does not overwrite your current tables. Without this step you will have to manually configure phpmyadmin by editing /etc/phpmyadmin/config.inc.php

E: Unable to locate package php5 E: Unable to locate package php5-mysql E: Unable to locate package mysql-server