forgot sudo password- cannot login as root- cannot login to phpmyadmi
So this is embarrassing but…
A month ago I set up a basic LAMP following your tutorials, upload a web app I am working on and all was well. Last month been programming and uploading sporatic update but not really testing the live site. Recently noticed some problems, deleted the public_html directory (sorry not using git or anything yet). Now wanted to log in to phpmyadmin to check the database but could not login, although I have my password written down here. I was thinking of just reinstalling phpmyadmin but my sudo password fails and I have that written down. When I log in to the droplet console I also cannot login to the droplet. I must have confused passwords or something during the setup process. I do not think I ever got a password emailed to me because I cannot find any email at all from do and I ssh with a key. Is there any suggestions or do I need to destroy the droplet and start again.
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.×