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

前端 未结 8 2199
佛祖请我去吃肉
佛祖请我去吃肉 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:17

    None of the above helped in my case - because, somehow, mysql was not running / was not installed (check by sudo systemctl status mysql).

    1. Skip the error in Phpmyadmin installation.
    2. Reinstall mysql by sudo apt-get install mysql-server mysql-client.
    3. Reconfigure with sudo dpkg-reconfigure phpmyadmin and accept the defaults - they will be a bit different this time (but you may want to set the passwords).
    4. Say yes to overwrite the config file with maintainer's version.

    By the way, the port in phpmyadmin.conf remained dbc_dbport=''.

提交回复
热议问题