WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Change configuration to point to localhost (8 posts)

  1. factchecker
    Member
    Posted 6 years ago #

    Hello. Trying to get moved from shared hosting to VPS for a week. I got this email from support now, and can't figure out what to change:

    I am seeing that your site is now resolving correctly. It may still take a bit on your end. I noticed that there was a database error when I looked at it on the wordpress blog. Make sure you change the configuration to point to localhost for your database, as it looks like it might be looking at a remote server.

    I have VPS Manager, Cpanel, and WHM links. Any idea which one is the place I need to go. Can't find it in any of them, but I am quite jittery at this point and may be overlooking the obvious. Thanks.

    http://idolstages.com

  2. DianeV
    Member
    Posted 6 years ago #

    That would be in your WordPress files. Check your specifications in your wp-config.php file -- that's where you specify the name and location of the database.

  3. paulgweb
    Member
    Posted 6 years ago #

    Are you referring to the setting needed in "install.php" ?

  4. paulgweb
    Member
    Posted 6 years ago #

    I see, your script is complaining: "or we can't contact the database server at remotemysqlhost."

    maybe your host was saying to change the install.php server address to "localhost"

  5. paulgweb
    Member
    Posted 6 years ago #

    Hi DianeV - looks like we both replied at the same time... and said the same thing. Can you look at my support question too?

  6. DianeV
    Member
    Posted 6 years ago #

    paulgweb, I'm not quite sure what your question was, but based upon what you said (and I've not dealt with the WP 2.x versions):

    - the database specifications are in wp-config.php
    - there are no settings to be set in install.php; you just input the database data in wp-config.php, and then run install.php

    Does that help?

  7. factchecker
    Member
    Posted 6 years ago #

    the database specifications are in wp-config.php

    Thank you SO much. That localhost advice was what I needed. Smiling again for the first time in a week.

  8. DianeV
    Member
    Posted 6 years ago #

    Excellent!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags