Having some issues getting Wordpress installed on Ubuntu 14.04

October 3, 2014 1k views

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?

1 comment
  • are you using phpmyadmin to manage users and databases?

    If so, you can try:

    1. click on the little home-icon on the left menu
    2. click on Users in the horizontal menu
    3. find your user and click Edit Priviliges
    4. scroll down to "Database-specific priviliges" and find your Wordpress database
    5. click go. Select all privileges but "Grant"...save Grant for your root user...
    6. click go

    now try to connect.

1 Answer

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?

Have another answer? Share your knowledge.