Announcement

Collapse
No announcement yet.

Database Error (Just restored vB from another server)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Database Error (Just restored vB from another server)

    I am not sure of what the problem is, my forum could be found at this link, http://www.oman3d.com/forum

    I have a new database name/username/pass and server, so I changed these, but I still get the error that you can see there. Any ideas of what I can do to check where the problem is?

  • #2
    You don't seem to have a session table.


    Invalid SQL:
    SELECT *
    FROM o3dsession
    WHERE userid = 0
    AND host = '141.110.154.92'
    AND idhash = '0da6e8e028aeefba92afca28118cb5ab'
    LIMIT 1

    mysql error: Table 'o3d.o3dsession' doesn't exist

    mysql error number: 1146

    Is your table prefix set correctly?

    Comment


    • #3
      Hmmm... I might have lost that table during the process of backing up. I only seem to have 50 tables in my database. Is there anything that I can do?

      How can I check if I have the table prefix set correctly?

      Comment


      • #4
        vB has 84 tables (or 85 with an import). If you only have 50 then you are missing a lot of your database. Did you just restore a backup?

        Edit: Of course you did, as per the thread title.

        My guess is that you did not have a complete backup. Can you make another one? The only reliable method of backing up and restoring a database is with shell access via telnet orssh. Please see the instructions here:

        Backup:
        http://www.vbulletin.com/docs/html/m...nce_ssh_backup

        Restore:
        http://www.vbulletin.com/docs/html/m...ce_ssh_restore
        Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
        Change CKEditor Colors to Match Style (for 4.1.4 and above)

        Steve Machol Photography


        Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


        Comment


        • #5
          I lost my database, is there anything that I can do to make use of any of what I have managed to save of it?

          Comment


          • #6
            Honestly, if you are missing 34 tables then you most likely will not be able to salvage much of anything. Sorry.
            Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
            Change CKEditor Colors to Match Style (for 4.1.4 and above)

            Steve Machol Photography


            Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


            Comment


            • #7
              I would just like to see it working with whatever it currently has, isn't there anyway to see it working with whatever it has, like making a fresh copy and then overwriting whatever I can overwrite of newer data?

              Comment


              • #8
                Could you post a list of the tables you do have.
                Want to take your board beyond the standard vBulletin features?
                Visit the official Member to Member support site for vBulletin Modifications: www.vbulletin.org

                Comment


                • #9
                  Thanks Marco, but I think that I managed to use whatever I had as I restored a previous file I had and then overwrote that one with whatever I got from my more recent file.

                  Comment

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