• Hi All,

    Apologies if this appears to be a stupid question but I have decided on some self learning and jumped in to the challenge of designing my very first website.

    The plan is to use Word Press, themes and the WP e-Commerce Plugin.

    However, I have installed XAMPP as my development host, installed Word Press 2.7.1, amended the wp-config file and copied the whole WordPress folder to the Xampplite > htdocs directory, but when I go to run ‘http://localhost/wordpress/wp-admin/install.php’ file in my browser I get the below message:

    “Error establishing a database connection”

    I know this is probably a really stupid/basic question but can anyone help?

    Many thanks in advance, Jo.

Viewing 4 replies - 1 through 4 (of 4 total)
  • follow this exactly – works every time
    http://www.tamba2.org.uk/wordpress/xampp/

    Thread Starter jo_leon

    (@jo_leon)

    Thank you for your reply’s.

    Luckily it was the tamba2.org link I had found and this helped me to get started, well through to every stage except the last.

    Both Apache and MySQL are running but I still get the above error message.

    The settings I have are as follows, are these correct?

    define(‘DB_NAME’, ‘wordpress’);

    /** MySQL database username */
    define(‘DB_USER’, ‘root’);

    /** MySQL database password */
    define(‘DB_PASSWORD’, ‘yourpasswordhere’);

    /** MySQL hostname */
    define(‘DB_HOST’, ‘localhost’);

    I have yet to purchase a domain name or select a host as I wanted to design the site my end first – this is possible isn’t it? Or am I being really thick?

    Thanks once again for your time and help, really appreciatte it.

    in my localhost installs the password field is blank
    define('DB_PASSWORD', '');

    Thread Starter jo_leon

    (@jo_leon)

    Thanks Samboll – problem solved! Well spotted.

    I’m now at the stage where I’m deciding on a theme – can anyone recommend any free shop themes?

    Thanks once again. Jo

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

The topic ‘Newbie – School-boy Error?’ is closed to new replies.