By Amurepinho
I’ve created a new WordPress Droplet and used User-Data to install PhpMyAdmin.
When I try to access: http://107.170.14.110/phpmyadmin
I Receive 401 Unauthorized.
I’ve tried do use MYSQL root user using the password displayed at MOTD I’ve tried “phpmyadmin” using the password available at /etc/dbconfig-common/phpmyadmin.conf I’ve tried do use WordPress DB user/pass available at wp-config.php
What Im missing? I just need to open PHPMyAdmin to restore the full DB from my old blog domain so I can start using DO for my website.
Here’s the 401 error: https://www.dropbox.com/s/kcocj7lj7h5qjle/Captura de tela 2015-08-18 15.28.11.png?dl=0
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 user data script is attempting to install and configure some things that are already configured by the WordPress one-click. The quickest way to get up and running with your migrated site would be to rebuild the droplet from the WordPress image and then log in via ssh. Using the following commands you’ll be able to install PHPMyAdmin.
Make sure you have the MySQL root password from the MOTD, then…
apt-get update
apt-get install phpmyadmin
You should be prompted for some information by apt.
Select the option to configure apache and provide the MySQL root password when prompted for it. You will also set up a phpmyadmin user.
Once this has completed you can access phpmyadmin at /phpmyadmin via a web browser.
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.