Ready to get started?Download WordPress


wp-Config (2 posts)

  1. believetheory
    Posted 7 years ago #

    I need to know what all of the configiration information means? (ex, database + host) why is it always local host???

  2. whooami
    Posted 7 years ago #

    from http://www.iwebtool.com/what_is_localhost.html

    "Localhost" refers to the local computer that a program is running on. For example, if you are running a Web browser on your computer, your computer is considered to be the "localhost." While this does not need to be specified when using a single computer, the localhost does need to be defined when running programs from multiple computers. For example, a network administrator might use his local machine to start a Web server on one system and use a remote access program on another. These programs would run from computers other than the localhost.

    In the example above, the two non-local computers must be defined by their IP addresses. The local machine is defined as "localhost," which gives it an IP address of This is considered a "loopback" address because the information sent to it is routed back to the local machine. Localhost is often used in Web scripting languages like PHP and ASP when defining what server the code should run from or where a database is located."


    As for the variables:

    define('DB_NAME', 'xxx'); // The name of the database
    define('DB_USER', 'xxx'); // Your MySQL username
    define('DB_PASSWORD', 'xxx'); // ...and password

    They are self-explanatory and all relate back to your MySQL installation.


Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.