By admin357396
on a LEMP 14.04 app.
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!
“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!
Try the following command - cat /etc/motd.tail
This file contains text that you see when you first login to your droplet.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.