I tried to install PHPMyAdmin but I kept getting an error, something about not being able to connect through the socket(s). This was after going through the setup of setting passwords and administrator accounts etc.
I didn’t have LAMP, mysql, or PHP installed yet so I uninstalled PHPMyAdmin by purge removing it and deleting the phpmyadmin folder in /etc.
Now when I try to sudo apt-get install phpmyadmin, it asks me if I want to use apache2, and after I say ok, the installation just finishes. I try to go to http://myhost/phpmyadmin and it asks for root@localhost’s password which I don’t have because it doesn’t take me through the installation anymore.
I’m trying to follow this tutorial, and for me it’s stopping after apache2 without any (visible) errors. It’s not asking for dbconfig-common like it did the first time I tried to install.
Thanks
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
The tutorial you linked assumes you have LAMP setup. It seems like you were missing that. If you’re not familiar with CLI, you can build server with a control panel like Virtualmin which has one-click phpmyadmin install feature.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.