• Sidhu

    (@sidhu)


    I am unable to configure WordPress at my localhost.

    What value should i place at database host field during configuring WordPress when i want to access the same from localhost?

    Following are the field values that i am placing at the config page:

    1. Database Name: wordpress
    2. Database Host: localhost

    Please help

Viewing 4 replies - 1 through 4 (of 4 total)
  • Are you installing on your machine, or trying to access a site hosted elsewhere from your machine?

    Thread Starter Sidhu

    (@sidhu)

    its my local system where i am trying to install WordPress

    If you are using xampp / mamp then you would create the database first.
    have you done this?

    What package are you using to install locally?

    rfair404

    (@rfair404)

    if you’re on mac, MAMP sometimes can’t reach the db server on localhost. Can you use the mysql command line to access it this way? e g:

    mysql -u dbusername -p -h localhost

    if not try to usie 127.0.0.1 as db host.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘WordPress installation query’ is closed to new replies.