Report this

What is the reason for this report?

MySQL root password

Posted on February 25, 2013

Hi,

I just created a new droplet and used the “LAMP on Ubuntu 12.04” application to set it all up and have LAMP installed automatically. Works great, but when I want to install phpmyadmin, it asks for the MySQL password. I tried several options like “root” or empty, but it doesn’t work. Where can I find the password for MySQL? Thanks!



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!

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.

When you install a LAMP droplet in digitalOcean this is the code to get your mysql password cat /root/.digitalocean_password

Log in and like this answer so that it can get to the top

@razalghul is Awesome :)

Your MySQL root password is in /root/.my.cnf and it is different for every droplet, as it is randomly generated for every droplet.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.