• ERROR TRYING TO INSTALL WORDPRESS LOCALLY WITH WAMPSERVER!

    Trying to use WampSever to run WordPress locally but getting an error. WampServer icon is green. I open Localhost, click on my project, and get this message:

    “Error establishing a database connection”

    RUNNING:
    Windows Vista Ultimate Version 6.0 (Build 6002: Service Pack 2)
    WampServer Version 2.2
    WordPress 3.3.1

    STEPS LEADING UP TO ERROR:
    1. created a new database in phpMyAdmin
    2. created a new user with user name and password
    3. gave new user all privelages
    4. created a new project forlder in the www directory
    5. copied the contents of my WordPress download to the new folder
    6. customized the wp-config.php file (database name, user name, password, pasted in new authentication keys and salts)
    7. attempted to instal WordPress (entered “https://localhost/brandagents/wp-admin/install.php” in browser (got error); opened Localhost from WampServer, clicked on “brandagents” under “My Projects” and got error)

Viewing 1 replies (of 1 total)
  • Lets go on steps:
    1. created a new database in phpMyAdmin (OK)
    2. You don’t need to create new user for database as if you like you can use default one: (User: root and no password by default)
    3. user “root” has all the privileges by default
    4. Copy folder inside WordPress folder i.e. wp-admin, wp-includes, wp-contents and remaining files inside www/ (recommended)
    5. Don’t need to customize wp-config.php
    6. Now go on with: https://localhost/wp-admin/install.php, it will guide you for rest.

    Thnx

Viewing 1 replies (of 1 total)
  • The topic ‘Error establishing a database connection’ is closed to new replies.