Question

ERROR 1045 (28000): Access denied for user │ 'debian-sys-maint'@'localhost' (using password: YES)

I created a Droplet from the Wordpress Marketplace image. I tried to install PHPMyAdmin. During the installation, the following message appears:

ERROR 1045 (28000): Access denied for user                                 
  │ 'debian-sys-maint'@'localhost' (using password: YES)

I have not been able to find an answer to why this occurs or how to fix it.


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.

Hello all,

So apart from the explanation already, all you need to do to get the password you need to check the /etc/mysql/debian.cnf file.

This comment has been deleted

Hi @howard,

This error is related to your MySQL instance. Basically, whatever you’ve been doing, the user ‘debian-sys-maint’ has tried to access a database using a password but failed.

This can be due to a couple of reasons. The user you are using ‘debian-sys-maint’ does not have sufficient privileges to access the database you’ve been trying to access or even though the password is being used, it’s wrong. Alternatively, can be both those things together.

Can you describe the process you’ve been following to install the Database so that I can give you some pointers?