Question

where can i find the root mysql password on a 1 click app install?

on a LEMP 14.04 app.


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

“Try the following command - cat /etc/motd.tail This file contains text that you see when you first login to your droplet.”

“just SSH in to your droplet and you will see mysql root password.”

[RESOLVED] “the MySQL root account is displayed in the message of the day when you first log in via SSH”

Above answers don’t give quite enough info…

Firstly, if you have just completed the 1-Click install process, and the server is already up and running, it won’t show you the standard “motd” (message of the day) until the next time the server reboots or restarts. You can exit SSH and login again any number of times, and it just comes back up to the ordinary console prompt. After a reboot though… your next login will display the motd message they are describing.

Even yet, it may not have the MySQL password spelled out. In my case, it referred me to a file located at /root/.digitalocean_password which then, finally, DID contain the necessary password. Cheers!

@admin357396 just SSH in to your droplet and you will see mysql root password.