WordPress.org

Forums

localhost problems in wp-config (7 posts)

  1. sauke
    Member
    Posted 10 years ago #

    When running on my computer (windows XP Prof,Apache 2.0.50 & mysql 4.0.20) all is fine with 'localhost' as the DB_HOST parameter. However if accessed from another box on the network the display is missing all the CSS stuff.
    When I change the localhost value to an actual ip address I get "Error establishing a database connection"
    Anyhelp will be appreciated.
    Thanks in advance.

  2. James Huff
    Volunteer Moderator
    Posted 10 years ago #

    The wordpress files (including wp-config) should stay on the computer with the MySQL database, as that database is the core of your WordPress install. If localhost is your MySQL host, then that's what it should remain. If you want to access it from another box on the network, just direct your browser to the index.php file in the original WP install, just as if it were a website online.

  3. sauke
    Member
    Posted 10 years ago #

    That's what I thought but have a look at what I see

    . Please let me know if it displays okay in your browser.
    Thanks.

  4. sauke
    Member
    Posted 10 years ago #

    macmanx, can you please also check out the links too - the date & month link and the title link.
    It might highlight the issue adequately.
    Thanks.

  5. James Huff
    Volunteer Moderator
    Posted 10 years ago #

    Wow, now that's interesting. Check and see what you have in WP's admin area at Options/General.

  6. sauke
    Member
    Posted 10 years ago #

    I checked my Options/General and all appears to be okay. Where would I find the line accessing the css style sheet. I would like to check up on that and see if I ned to correct the path.
    Thanks.

  7. Laughinglizard
    Member
    Posted 10 years ago #

    @sauke: Look at the top of index.php

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.