sudo dpkg-reconfigure phpmyadmin

时间:2017-02-22 10:45:46

标签: php terminal phpmyadmin linuxmint

我最近安装了Linux mint,我试图安装phpmyadmin,但是它出现了错误,如

 ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using       
  │ password: NO)

我尝试使用以下推荐卸载

sudo aptitude purge phpmyadmin 

然后再次使用

安装
apt-get -y install phpmyadmin

但我仍然得到像

这样的错误
 Configuring phpmyadmin ├────────────────────────┐
  │                                                                          │ 
  │ An error occurred while installing the database:                           
  │                                                                            
  │ ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using       
  │ password: NO) . 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        
  │    solved the underlying problem since the time the error occurred.        
  │                                                                            
  │                                  <Ok>                                      
  │                                                                          │ 
  └───────────────────────────────────────────────────────

请帮助我。任何帮助都会得到赞赏。

0 个答案:

没有答案