LOST On initial Setup Step 3 LAMP, Error 1045

  • Posted June 10, 2014

I am new to Digital Ocean and trying to setup my site on a Ubuntu Wordpress install. I got it up and looks to be running.

However, I was going through the setup tutorial and on this post:

On the Step 3 Install LAMP i got stuck on “sudo /usr/bin/mysql_secure_installation” I get error 1045. As far as I know I did not set a root password for blank and enter should work, not so much. I also tried the root password DigitalOcean emailed me, didn’t work either. How do I mov eon form this step to finish the install?


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.

Are you using the Wordpress one-click install app? If that is the case, your root MySQL password was auto-generate on install. To see it, run: <pre> cat /root/.my.cnf </pre>