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
I've searched the internet for hours but none worked for me except this.
After changing dbc_dbport=''
to dbc_dbport='0'
I still encountered some other problems.
If you are not able to continue the configuration process properly, follow these additional steps:
First, simply choose Abort.
Then login to mysql as root using the password you’ve defined when you installed MariaDB.
mysql -u root -p
Next, issue following command:
CREATE DATABASE phpmyadmin;
Then, issue following command: (Do not forget to replace changethispassword with your own password of choice.)
GRANT ALL ON phpmyadmin.* TO phpmyadmin@localhost IDENTIFIED BY 'changethispassword';
Exit mysql> using:
\q
Next, edit the database configuration:
sudo gedit /etc/phpmyadmin/config-db.php
Edit the dbpass parameter with the password you’ve just defined.
Replace changethispassword with your own and save. (It must've been already set correctly.)