Question

I cannot install phpMyAdmin

  • Posted February 8, 2015

Hello. I cannot install phpMyAdmin because all the time I receive the following error:

An error occurred while installing the database:                          │ 
 │                                                                           │ 
 │ ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using      │ 
 │ password: YES)                                                            │ 
 │                                                                           │ 
 │ If at this point you choose "retry", you will be prompted with all the    │ 
 │ configuration questions once more and another attempt will be made at     │ 
 │ performing the operation. "retry (skip questions)" will immediately       │ 
 │ attempt the operation again, skipping all questions.  If you choose       │ 
 │ "abort", the operation will fail and you will need to downgrade,          │ 
 │ reinstall, reconfigure this package, or otherwise manually intervene to   │ 
 │ continue using it.  If you choose "ignore", the operation will continue,  │ 
 │ ignoring further errors from dbconfig-common.  

As administrator username I enter ‘root’. As password I enter the MySQL password carefully without any mistakes (I’ve done that 3 times so far. The MySQL password is available the moment I connect through SSH.

I am not sure what is causing the problem or what I should do next.

Subscribe
Share

@NickJonathan You can’t use same password for secure reasons. Try to install using these commands

@garyirvine Yes, I did. Same result.

did you try to enter MySQL with the same root password?

Hello. I am using Ubuntu 14.04 with LAMP setup.

Hello Nick,

What Linux system are you using to install phpMyAdmin?

Try to re-configure mysql-server, change your mysql root password.


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

I have just fixed the issue. Thank you everyone for your amazing support.

It was the issue on my part. I mistook the MySQL’s password entry for MySQL’s username entry.

Everything is fixed now.