1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.1 New Database

Discussion in 'XenForo Questions and Support' started by Xarcell, Jun 22, 2012.

  1. Xarcell

    Xarcell Well-Known Member

    I just changed hosts, and my database name has changed, as well as the password. How do I got about changing this in my backup of my site?

    I backed-up the files and the DB and I already imported the sql file to the new database(after adjusting the DB name accordly).

    What else should I be doing?

  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    The only other thing is the library/config.php file. That is where the db info is stored.
    Xarcell likes this.
  3. Xarcell

    Xarcell Well-Known Member

    I'm having issues. I'm opened my SQL file and changed the database name. I changed the information in the config file. It says there is a database error when I visit the site. However, I get a warning from my host saying I'm sending out over 300 emails an ahour from that site.

    Any ideas what I'm doing wrong?
  4. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    View the source code of the database error page. It should give a more detailed error.

    You can disable all emails by adding this to your library/config.php file:

    $config['enableMail'] = 0;
    Xarcell likes this.
  5. Xarcell

    Xarcell Well-Known Member

    Thank for you help, the issue has been resolved.

Share This Page