WordPress.org

Ready to get started?Download WordPress

Forums

wp-Config (2 posts)

  1. believetheory
    Member
    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
    Member
    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 127.0.0.1. 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."

    http://www.google.com/search?hl=en&sa=X&oi=spell&resnum=0&ct=result&cd=1&q=what+is+localhost&spell=1

    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.

    http://codex.wordpress.org/Glossary#MySQL

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.