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

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

    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.)

提交回复
热议问题