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!
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
Your MySQL root password is in /root/.my.cnf and it is different for every droplet, as it is randomly generated for every 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.