Question
Default mysql password
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.
×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
sudo mysql_install_db
sudo /usr/bin/mysql_secure_installation
Enter current password for root (enter for none)
For Ubuntu 14.04 with one-click LAMP
mysql password located at :
cat /etc/motd.tail
Thank you @oliver.dalton.au
how did you find that ?
on LAMP on ubuntu
Execute following command with root access
reload ssh
Try the solution given here
i.e. use this command
@akhil528ea387d2
worked for me, thanks!