Results 1 to 4 of 4

Thread: New user seeking WordPress help

  1. #1
    Join Date
    Feb 2006
    Posts
    14
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default New user seeking WordPress help

    Hi, I'm new to RedFox, WordPress and MySql so be gentle please :-)

    I'm trying to run WordPress and having followed installation instructions have arrived at the error message:
    " Error establishing a database connection

    This either means that the username and password information in your wp-config.php file is incorrect or we can't contact the database server at localhost. This could mean your host's database server is down.

    Are you sure you have the correct username and password?
    Are you sure that you have typed the correct hostname?
    Are you sure that the database server is running?"

    So, what did I do to get where I am.
    • created a new MySql database and database user from HELM

    • added the database name, username and password to 'wp-config.php' like this:
    define('DB_NAME', 'mydatabasename'); // The name of the database
    define('DB_USER', 'mydatabaseusername'); // Your MySQL username
    define('DB_PASSWORD', 'mydatabasepassword'); // ...and password
    The next line I've left untouched so it still appears as is.
    define('DB_HOST', 'localhost'); // 99% chance you won't need to change this value

    • Uploaded the entire WP directory in to wwwroot so that it's a sub-directory of my site, making sure that the WP directory name is the same as in the config file.

    • Pasted in to the browser address window
    http://www.mysite/sub-directory/wp-admin/install.php
    as per the instructions and ended up with the error message.

    Where now. I'm sure that the database name, username and password are correct.However,
    • how do I check that the hostname is correct and that the database is runnning?

    • If the hostname shouldn't be 'localhost', what should it be?

    • have I missed something out in the database creation? If so what?

    Sorry for this being a loooong first post, I'm very much a fartie at this and wanted to provide plenty of info.

    Oh and I'm a Mac user, running OS 10.4 and using Transmit as my ftp client.

    Thanks in advance
    Mark

  2. #2
    Join Date
    Feb 2004
    Posts
    4,903
    Thanks
    2
    Thanked 134 Times in 113 Posts

    Default

    Quote Originally Posted by markcannon
    • added the database name, username and password to 'wp-config.php' like this:
    define('DB_NAME', 'mydatabasename'); // The name of the database
    define('DB_USER', 'mydatabaseusername'); // Your MySQL username
    define('DB_PASSWORD', 'mydatabasepassword'); // ...and password
    The next line I've left untouched so it still appears as is.
    define('DB_HOST', 'localhost'); // 99% chance you won't need to change this value
    DB_HOST isnt correct, see helm for the database server name of your database.
    Warren Ashcroft
    Red Fox UK Limited - Pioneers in Internet Technology
    http://www.redfoxuk.com
    w.ashcroft [at] redfoxuk.com

    NOTE: Forum Private Messaging should not be used to contact staff with support queries.

  3. #3
    Join Date
    Mar 2005
    Location
    Isle of Man
    Posts
    1,261
    Thanks
    3
    Thanked 24 Times in 24 Posts

    Default

    change 'localhost' to 'HYDROGEN'.

    Good to see another mac man using transmit, snap

  4. #4
    Join Date
    Feb 2006
    Posts
    14
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default WordPress

    Folks
    Many thanks for the swift help.

    It's always something easy and yep, localhost changed and I'm up and running.

    Thanks again

    Mark

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Anyone using WordPress here?
    By ptermx in forum WordPress (PHP)
    Replies: 4
    Last Post: 6th March 2008, 12:45 AM
  2. user control nightmare...
    By psykik in forum ASP.NET
    Replies: 5
    Last Post: 20th June 2006, 02:26 PM
  3. WordPress 2.0.1
    By ptermx in forum PHP
    Replies: 1
    Last Post: 10th February 2006, 01:47 PM
  4. I like what I see - user feedback request
    By hazydavy in forum Sales and Service Feature Enquiries
    Replies: 7
    Last Post: 6th September 2005, 11:20 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •