Question

Cant find default MySQL password

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.

Subscribe
Share

Hi there, its not a directory but a file ;) Try to open it with a text editor


Submit an 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 :-).