Problem with restoring database

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

    Problem with restoring database

    I am busy with restoring my database to a new server, i use the command what it says on the movingservers.html page:

    from the root, type mysql -uUSERNAME -pPASSWORD newdbname < /path/to/dump.sql

    when i type that in telnet i receive this error:

    "ERROR 1030 at line 55178: got error 122 from table handler"

    When i try 2 check my database thru phpadmin, to c what he did then i c the tables till the attachment, so it went wrong in the attachment table.

    Does anyone have a solution?
  • Lesane

    #2
    is it possible to backup the database without the table "attachments"?? (The backup @ the admin dont works.)

    Comment

    • Steve Machol
      Former Customer Support Manager
      • Jul 2000
      • 154488

      #3
      bash:~$ perror 122
      Error code 122: Disk quota exceeded


      You need to free up some space.
      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

      • Lesane

        #4
        thanks for the reply and probably the solution. I start with making some free space.

        Comment

        • Lesane

          #5
          i checked but the disk quota is 1gig
          and i just get told that this is a mysql error and not a prompt error, not a bash error. Its not related.

          Do you have any other solutions because my board is offline now and i'm waiting till i can restore my database to my new server.

          Comment

          • Steve Machol
            Former Customer Support Manager
            • Jul 2000
            • 154488

            #6
            I'm out of ideas. I think you should enter an official support request.

            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

            • Lesane

              #7
              aight, thanks. I will fill that official report in but one question: Is it a problem if i drop the table "attachments", backup the database and try 2 restore the database to the new server, so without that table "attachments". ?

              I already disabled attachments on my board.

              Comment

              • Steve Machol
                Former Customer Support Manager
                • Jul 2000
                • 154488

                #8
                If you drop 'attachments' then all the existing attachments will be deleted. Is this what you want? Either way, I'd make a backup before and after dropping this table - just in case!
                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

                • Chen
                  Senior Member
                  • Jun 2001
                  • 8388

                  #9
                  If you are dropping the 'attachment' table you will also need to run this query:
                  Code:
                  UPDATE post SET attachmentid=0
                  Chen Avinadav
                  Better to remain silent and be thought a fool than to speak out and remove all doubt.

                  גם אני מאוכזב מסיקור תחרות לתור מוטור של NRG הרשת ע"י מעריב

                  Comment

                  • tubedogg
                    Senior Member
                    • Feb 2001
                    • 13602

                    #10
                    Few things to keep in mind...

                    The quote that Steve posted is of how the nature of the error is determined, and has nothing to do with bash (that is merely the command prompt). The error is that you are out of disk space. Despite what your quota is, the partition that MySQL is using is either very close to or completely out of space and this will likely not be helped by you freeing up space as it is probably on a different partition than you.

                    You will need to contact your host.

                    You can verify the problem by loggin in via telnet and running the following command:
                    df
                    If any come back as 100% (or close to that) you indeed have a space issue. Particularly you are looking for one labeled
                    /var

                    Comment

                    • Lesane

                      #11
                      Thanks for the replies. I dropped the "attachment" table but still received that error.

                      I contacted the host from my new server with the problem about that freespacing and they cant fix it. They suggest me to make a zip from /home/mysql/vbthing of my currently server/host and put it then @ their server, but i have 2 contact my host first , because i have no permission to do that.

                      The command df in telnet gave this answer:

                      Filesystem 1k-blocks Used Available Use% Mounted on
                      /dev/hda1 743466 591474 151992 80% /
                      /dev/hda3 198601 16928 181673 9% /var
                      /dev/hda4 17671528 647603 17023925 4% /home

                      Comment

                      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                      Working...
                      😀
                      😂
                      🥰
                      😘
                      🤢
                      😎
                      😞
                      😡
                      👍
                      👎