Skip to:
Content
Pages
Categories
Search
Top
Bottom

Changed Hosting Accounts…Files To Modify DB Connection?

  • I changed my hosting account and was trying to find out what files would I need to modify the DB connection information…

Viewing 6 replies - 1 through 6 (of 6 total)

  • pcwriter
    Participant

    @pcwriter

    @i_banks

    In your wp-config.php file (root of your site), you’ll see the following lines:

    `// ** MySQL settings – You can get this info from your web host ** //
    /** The name of the database for WordPress */
    define(‘DB_NAME’, ‘your-db-name-here’);

    /** MySQL database username */
    define(‘DB_USER’, ‘your-db-username-here’);

    /** MySQL database password */
    define(‘DB_PASSWORD’, ‘your-db-password-here’);`

    Insert your connection info in the appropriate places, save and reupload.

    so there aren’t any other files Buddypress uses to connect and save to DB?


    pcwriter
    Participant

    @pcwriter

    Buddypress doesn’t connect to the database, WordPress does.
    BP is a plugin and will use the same db as WP, but if WP can’t connect, BP won’t work either.

    okay….thanks for your assistance…

    Also maybe bb-config.php if you use the forums


    pcwriter
    Participant

    @pcwriter

    Didn’t realize bb-config.php also had that info. But I checked and, lo and behold, it does ;-)

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Changed Hosting Accounts…Files To Modify DB Connection?’ is closed to new replies.
Skip to toolbar