• 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.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    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.

    Thread Starter sauke

    (@sauke)

    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.

    Thread Starter sauke

    (@sauke)

    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.

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator

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

    Thread Starter sauke

    (@sauke)

    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.

    @sauke: Look at the top of index.php

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘localhost problems in wp-config’ is closed to new replies.