Luuk2014
By:
Luuk2014

Cant find default MySQL password

December 27, 2017 985 views
Apache MySQL 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.