Question

I cannot install phpMyAdmin

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.

Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

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

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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.