Report this

What is the reason for this report?

Default mysql password

Posted on July 4, 2013

Just set up my first droplet - LAMP on Ubuntu 12.04 What would be the password for mysql -



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.

thank you,it worked!

sudo mysql_install_db
<br> <br>after running the above command its asking for the password. <br>this is my first installation of mysql <br>what password should i give here <br>…??? <br>please help me as soon as possible <br>

@harish.pemmasani: What OS are you using? Did you install MySQL yourself? If so, you’ll need to enter the root password you chose while installing MySQL. <br> <br>If you’re using the LAMP stack image with MySQL pre-installed, the root password is set to ‘password’ by default.

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.