Forums

cannot connect to db (3 posts)

  1. greenhorn
    Member
    Posted 3 years ago #

    i as my nick says am very green at this bloggin let alone try to set one up. i am using xammp as a server with no luck connecting to the database i have checked the passwords and user name more than a trillion times and they match what do i need to check now hmm i know my brain cause it is fried from trying to get this up and running right.

  2. figaro
    Member
    Posted 3 years ago #

    Unless you have changed the configuration, then by default:

    dbhost = localhost
    dbname = what ever you named it
    dbuser = root
    dbpass =

    There is no password, so just leave it empty. Note: this is a huge security problem if you are trying to use this on the web and not just your local machine.

    Also, make sure your wordpress source code is located in:

    C:\xampp\htdocs\xampp\wordpress

  3. MichaelH
    Volunteer
    Posted 3 years ago #

    Also, make sure your wordpress source code is located in:

    C:\xampp\htdocs\xampp\wordpress

    On my local install of xampp, I successfully have files in:

    C:\xampp\htdocs\wordpress

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.