Reputation: 2428
Getting error when installing phpmyadmin in ubuntu 14.04
I ran below 2 commands for installing it.
sudo apt-get update
sudo apt-get install phpmyadmin
During installation I selected apache and gave administrators password and phpmyadmin password then got the following error.
Upvotes: 0
Views: 285
Reputation: 36
It seems like phpmyadmin tries to auto-configure connection to local mysql-server during the installation. But one of the steps of installation asks if you want to configure database immediately or to do it later manually (see attached screen).
So, if you'd like to use local mysql-server, you need to install it first, but if you want to configure connection to some remote mysql-server, skip automatic configuration and do it later manually.
Upvotes: 2