Problems with moving Vbulletin to a new Server

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dan325ci
    Senior Member
    • May 2004
    • 153

    Problems with moving Vbulletin to a new Server

    I just moved servers and having problems getting the vbulletin to work.

    I backed up the database with the AdminCP function (file size about 19000KB)

    I then created a new Mysql database and user (same values as on my old server.)

    I then restored the database via SSH as per the online manual.

    Now when i go to the site i get a page saying:

    "Database error The database has encountered a problem.

    Please try the following:
    • Load the page again by clicking the Refresh button in your web browser.
    • Open the www.mydomain.com home page, then try to open another page.
    • Click the Back button to try another link.
    The www.mydomain.com forum technical staff have been notified of the error, though you may contact them if the problem persists.

    We apologise for any inconvenience."


    No mention of any errors specifically related to the vbulletin or mysql. Simply just get that page with that exact message.

    Can anyone help?
  • zCarot [RU]
    Senior Member
    • Oct 2006
    • 109
    • 3.7.x

    #2
    Check up page source (Ctrl+U or Alt+F3 or Right click\View source) - you can see DB error message

    Comment

    • dan325ci
      Senior Member
      • May 2004
      • 153

      #3
      Oh, this is what it says

      <!--
      Database error in vBulletin :
      mysql_connect() [&lt;a href='function.mysql-connect'&gt;function.mysql-connect&lt;/a&gt;]: Access denied for user 'forum'@'localhost' (using password: YES)
      /home/cf/public_html/forums/includes/class_core.php on line 273
      MySQL Error :
      Error Number :
      Date : Saturday, March 24th 2007 @ 05:05:26 PM
      Script : http://www.mydomain.com/forums/
      Referrer : http://www.mydomain.com/
      IP Address : xxx.xxx.xxx.xxx
      Username :
      Classname : vb_database
      -->

      Comment

      • zCarot [RU]
        Senior Member
        • Oct 2006
        • 109
        • 3.7.x

        #4
        Originally posted by dan325ci
        Access denied for user 'forum'@'localhost' (using password: YES)
        check out your includes\config.php
        may be you are forget change login\password\database after moving?

        Comment

        • dan325ci
          Senior Member
          • May 2004
          • 153

          #5
          Ok, i think i solved the problem. It was my config.php file. The username was not entered properly.

          Edit: Didnt see your reply. Thanks, you were right, that was it!

          Comment

          widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
          Working...