安装过程中phpmyadmin错误“指定了“端口"的空值." [英] phpmyadmin error during installation "Empty value for 'port' specified."

查看:138
本文介绍了安装过程中phpmyadmin错误“指定了“端口"的空值."的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在尝试使用ubuntu 14.04/mysql 5.7.12在我的digitalocean Droplet上安装phpmyadmin.我有一个LAMP堆栈,其中apache是​​Web服务器.

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.

在安装过程中,我不断收到此处显示的错误. E

During installation I keep getting the error shown here. E

我是phpmyadmin的新手,想知道为什么我会不断得到这个.以前使用较旧版本的mysql安装phpmyadmin是没有错误的.我正在尝试以非root用户sudo用户身份安装它.

I am pretty new to phpmyadmin and wondering why I keep getting this. Previously installing phpmyadmin with an older version of mysql was error free. I am trying to install it as a non-root sudo user.

任何方向或建议将不胜感激.

Any direction or suggestions will be greatly appreciated.

推荐答案

我的机器配置 -Ubuntu 16.04 -MySQL 5.7.13 -PHP 7.0.8 -Apache 2.4.18

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

编辑文件/etc/dbconfig-common/phpmyadmin.conf,进行更改

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

dbc_dbport=''dbc_dbport='0'

在编辑并保存文件后,如果仍在dbconfig-common向导中,请选择 retry ;如果未运行,请运行sudo dpkg-reconfigure phpmyadmin(在询问您是否要为phpmyadmin重新安装数据库时选择),并继续正常运行而不更改任何值.如果要更改某些值,请在之前编辑的文件中进行.

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.

这篇关于安装过程中phpmyadmin错误“指定了“端口"的空值."的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆