phpmyadmin error during installation “Empty value for 'port' specified.”

前端 未结 8 2201
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-31 04:36

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

8条回答
  •  别那么骄傲
    2021-01-31 05:12

    My machine configuration - Ubuntu 16.04 - MySql 5.7.13 - PHP 7.0.8 - Apache 2.4.18

    Edit the file /etc/dbconfig-common/phpmyadmin.conf, changing

    dbc_dbport='' to dbc_dbport='0'

    After editing the file and saving it, if you are still on the dbconfig-common wizard select retry; if not run sudo dpkg-reconfigure phpmyadmin (choose Yes when asked you if you want to Reinstall database for phpmyadmin) and continue normally without changing any value. If you want to change some value do it in the file that you have edited before.

    When configuration window asks what you want to do with existing configuration file choose Keep the local version currently installed.

    At this point you can check the differences and only those must exist that you made in the file.

提交回复
热议问题