By riserjordan
I’ve followed a few tutorials to get a new user setup, get a new virtual host setup for the new domain I have pointing to my droplet, and download Wordpress into the new virtual host public_html directory created for it. Everything works fine up until I try to access the Wordpress install process at my new virtual host domain, I get the page and can enter the database information but I can’t get the darn thing to connect. Do I need to use something other than localhost to connect to the database if the database user is not set up as a root user?
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!
Depends on how you setup the database.
Usually, I create a new user in mysql for each database table and they have full permissions.
Do you remember how you setup the db table and the permissions?
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.