0

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.

Error Snapshot

Sharath
  • 2,348
  • 8
  • 45
  • 81
  • Probably already answered here: [http://stackoverflow.com/a/11990813/7802808](http://stackoverflow.com/a/11990813/7802808) – Andrii Stefanskyi Apr 02 '17 at 10:54
  • its actually a fresh installation in a new system in azure. There isn't any mysql or any other softwares installed – Sharath Apr 02 '17 at 10:59

1 Answers1

2

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.