Report this

What is the reason for this report?

Cant find default MySQL password

Posted on December 27, 2017

I just created a droplet with lamp preinstalled. Now i need my standard MySQL but i cant find it. The MOTD showed me that i can find the mysql password in the following dir: /root/.digitalocean_password Unfortunately this directory doesnt exist. Can someone help me? Thanks in advance.



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 @Luuk2014

Please try using:

nano /root/.digitalocean_password

This will allow you to open the file and fetch the password that was set up during deployment :-).

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.