By Eric Bowen
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!
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
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.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.