Report this

What is the reason for this report?

I'm having trouble setting up my first database

Posted on August 17, 2020

New to DigitalOcean although I have successfully installed packages such as Drupal on a self-hosted Synology NAS. I used one-click to install a LAMP stack; now I’m wanting to install first WordPress and then Drupal. However, I’m having trouble creating the database.

I’m proceeding in accordance with the tutorial at https://www.digitalocean.com/community/tutorials/how-to-install-wordpress-with-lamp-on-ubuntu-18-04. However, when I attempt to log in to mysql using the password which is in the location specified at droplet login I get: “ERROR 1698 (28000): Access denied for user ‘root’@‘localhost’.” I’ve tried using the password both with and without the quotation marks which are in the file location. What am I missing?



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.

Hi @ehbowen,

You should be able to find the proper password in the following file

 /root/.digitalocean_password

Try copying it without using the quotes. That’s it. If the password is not correct then maybe you installed something that changed it and I’ll recommend starting again from scratch.

Regards, KFSys

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.