Report this

What is the reason for this report?

One-Click Install : LAMP 14.04 : What is the MySQL Credentials?

Posted on June 6, 2014

When using the One-Click Installation of an application image, such as LAMP on Ubuntu 14.04, what in the world is the mysql root password???



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.

You may try <br> <br>cat /root/.my.cnf

Usually, you should run mysql_secure_installation after installation is complete to set the root password (because there isn’t one) and secure the installation.

On the LAMP one click application, when you login to the droplet the MySQL root password will be displayed in the terminal. It’s part of the MOTD, or message of the day. To display the message again, run: <pre> cat /etc/motd.tail </pre>

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.