How to Install phpmyadmin In ubuntu with EASYENGINE and How to access

What is EasyEngine (ee)?

EasyEngine is a linux shell-script used to manage sites that run WordPress or PHP on the nginx web-server a popular alternative to Apache.

EasyEngine users can install phpMyAdmin quickly with command

sudo ee stack install --phpmyadmin
Install Admin tools

Below command installs Adminer, phpMyAdmin, phpMemcachedAdmin, FastCGI cleanup script, OPcache, Webgrind, Anemometer.

sudo ee stack install --admin

sudo ee secure --auth

Where to find PHPMySQL username & Password?

Suppose you have run ee stack install. MySQL username and password are stored in .my.cnf file. The Location of file depends on which user runs ee stack install. i.eroot@vagrant-ubuntu-trusty-32:~# sudo ee stack install command creates file in home directory of sudo user i.e here in /home/harshad/.my.cnf and root@vagrant-ubuntu-trusty-32:~# ee stack install run with root user creates file at /root/.my.cnf location.

Since EasyEngine v3.3.5, the file .my.cnf isn’t created anymore. Instead, the new location file is /etc/mysql/conf.d/my.cnf.

How to access phpMyAdmin installed with EasyEngine?

phpMyadmin is listed under db section in EasyEngine admin tools. So to access phpMyadmin use https://example.com:22222/db/pma/

*

By performing the steps above then you will be able to make phpMyAdmin EASYENGINE and log. Keep in mind that without “secure –auth ee”, then you will not be able to get into phpMyAdmin. The move came as the first safety measures before going to the window phpmyadmin