I have been trying to install phpmyadmin on my digitalocean droplet using ubuntu 14.04 / mysql 5.7.12 . I have a LAMP stack with apache as the web server.
During instal
None of the above helped in my case - because, somehow, mysql
was not running / was not installed (check by sudo systemctl status mysql
).
sudo apt-get install mysql-server mysql-client
.sudo dpkg-reconfigure phpmyadmin
and accept the defaults - they will be a bit different this time (but you may want to set the passwords).By the way, the port in phpmyadmin.conf remained dbc_dbport=''
.