By NickJonathan
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.
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!
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.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.
