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?
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.
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?
Click below to sign up and get $100 of credit to try our products over 60 days!
are you using phpmyadmin to manage users and databases?
If so, you can try:
now try to connect.