Lost my Droplet Login info, and have question about LAMP stack for a Moodle OLS installation...

October 23, 2014 1.2k views

I am new to this. Charged by my organization with creating a Moodle Online Learning Platform for adults, and want to download the Moodle code to my Server droplet. Need to be sure that the LAMP stack is set up and ready to go- is this already done with Ubuntu, or do I need to go through all the steps to download the software for this? How do I verify this?

My first problem now is that I have misplaced my username for my Droplet, and cannot find it. Do I need to create a new Droplet, and let this one go?

Thanks for your help.

Has anyone done anything with Moodle OLS on Digital Ocean?

  • A followup question. I earlier set a root password for MySQL, and I printed out what that PW is. I try to log in to make some security changes for production, and that pw does not work. I seem to be a in a broken loop in which anything I put in is taken as a false password. How do I get out of this so I can proceed to change the MySQL password?

  • How are you trying to log into MySql? mysql -u root -p ? If you haven't entered any real data into it yet, the simplest way to reset the password is to reinstall it with:

    sudo apt-get purge mysql-server*
    sudo apt-get install mysql-server
  • Good suggestion, but I am stuck in Error 1045- Access denied for user...Enter current password for root [MySQL]. I am stuck there. How do you get out of the "loop"?

  • Take a look at this tutorial on how to reset MySQL's root password.

1 Answer

The default username is root You can also reset the password for your droplet by going to Access > Reset Root Password in the DigitalOcean web interface.

If your droplet is based LAMP One-Click Application, it should have all the necessary dependencies install already. It comes with Apache, MySql, and PHP preinstalled. Let us know how it goes!

Have another answer? Share your knowledge.