WordPress.org

Ready to get started?Download WordPress

Forums

apache own server database name help! (6 posts)

  1. wuzzie
    Member
    Posted 8 years ago #

    Before getting a real web server, I've decided to run my own Apache server on my XP computer. I installed PHP, changed the extension_dir to C:\php\ext, deleted the semicolon before
    extension=php_mysql.dll...

    I unzipped all the wordpress files into the htdocs\wordpress folder. When it comes to the wp-config.php, I was confused. What should I type for my database name?

    Thanks

  2. Mark (podz)
    Support Maven
    Posted 8 years ago #

    If you want to play in XP, I recommend Xampp.
    http://www.apachefriends.org/en/xampp.html

    Very easy to use.
    Download, install
    http://localhost/xampp
    Click phpmyadmin
    Create db called wordpress, and here's your settings

    // ** MySQL settings ** //
    define('DB_NAME', 'wordpress'); // The name of the database
    define('DB_USER', 'root'); // Your MySQL username
    define('DB_PASSWORD', ''); // ...and password
    define('DB_HOST', 'localhost'); // 99% chance you won't need to change this value

  3. wuzzie
    Member
    Posted 8 years ago #

    Thanks for the fast reply..
    I got MySQL working, went created a 'wordpress' database (name) (Collation?). Now, on the left, under the dropdown, I see 'wordpress'...
    now what? Do I change the DB_NAME to 'wordpress'?
    Do I need to add some kind of tables under the 'wordpress database'?

    the Error page still pops up

    Sorry for being such a newbie

  4. wuzzie
    Member
    Posted 8 years ago #

    and what would my username and password be?
    would it be 'root@localhost'?

  5. Mark (podz)
    Support Maven
    Posted 8 years ago #

    Literally what I pasted above will work in your config file - I copied it from one of mine.

    Collation doesn't matter.

    Now copy the wordpress folder into /htdocs, then go to
    http://localhost/wordpress/wp-admin/install.php

  6. wuzzie
    Member
    Posted 8 years ago #

    AHHHH
    IT WORKS!
    OMG!
    YOU'RE MY HERO
    I LOVE YOU!!!!!

Topic Closed

This topic has been closed to new replies.

About this Topic