我正在尝试安装phpMyAdmin在 Ubuntu 16.04 LTS 上。
遵循的步骤:
成功安装Apache2
每次我尝试安装 phpMyAdmin 时,都会出现此错误:
mysql: [Warning] mysql: Empty value for 'port' specified. Will throw an error in future versions ERROR 1045 (28000): Access denied for user '*<username>*'@'localhost' (using password: YES) . Your options are: * abort - Causes the operation to fail; you will need to downgrade, reinstall, reconfigure this package, or otherwise manually intervene to continue using it. This will usually also impact your ability to install other packages until the installation failure is resolved. * retry - Prompts once more with all the configuration questions (including ones you may have missed due to the debconf priority setting) and makes another attempt at performing the operation. * retry (skip questions) - Immediately attempts the operation again, skipping all questions. This is normally useful only if you have
我尝试使用具有 sudo 权限的 Ubuntu 登录 ID 代替 。没有成功
尝试提供另一个用户名。同样的错误
带着问题重试了几次。同样的错误。
我该怎么做才能修复这个问题?另外,我想使用 localhost 作为服务器 (db、web),谢谢。