Cant find default MySQL password

December 27, 2017 4.5k views
MySQL Apache LAMP Stack Ubuntu 16.04

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.

1 comment
1 Answer

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

Have another answer? Share your knowledge.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!