Question

Create Droplet with lamp, now what ?

  • Posted December 12, 2014

hello i create a droplet with lamp, where can i get the username and password for mysql ? how about its security ?

Subscribe
Share

Submit an 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 log into your droplet via ssh the following message containing your MySQL root password is displayed (with your droplet’s IP in place of 0.0.0.0):

-------------------------------------------------------------------------------------
Thank you for using DigitalOcean's LAMP Application.
Your web root is located at /var/www/html and can be seen from http://0.0.0.0/
The details of your PHP installation can be seen at http://0.0.0.0/info.php
Your MySQL root user's password is WAjYY29QmM
You are encouraged to run mysql_secure_installation to ready your server for production.
-------------------------------------------------------------------------------------
To delete this message of the day: rm -rf /etc/motd.tail

The application images are fairly stock configurations and you will want to take some steps to further secure your new droplet. I would recommend starting with these tutorials:

Initial Server Setup with Ubuntu 14.04

and

Additional Recommended Steps for New Ubuntu 14.04 Servers