DB problem

Discussion in 'Databases' started by punkd, Feb 26, 2007.

  1. #1
    Hi Dp friends. I used to have my own ddl site untill I brought it down because I didnt have the time to deal with it. I kept a backup just in case I ever needed it. Yesterday I check the text file and it has over 80k records with 2 table. when I upload the db it seems to only have 20k records and only 1 table. Can someone plz help me??? The database is not for a specific script. PLZ PLZ I really need help with this

    Thanks
    Punkd
     
    punkd, Feb 26, 2007 IP
  2. Ardolix

    Ardolix Peon

    Messages:
    29
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    The database not cashed in text form, so it consume less space. Discrшbe what type of database and backup.
     
    Ardolix, Feb 26, 2007 IP
  3. punkd

    punkd Active Member

    Messages:
    307
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    60
    #3
    its a sql file with 80k records but only shows 20k at the myadmin
     
    punkd, Feb 26, 2007 IP
  4. Mystique

    Mystique Well-Known Member

    Messages:
    2,579
    Likes Received:
    94
    Best Answers:
    2
    Trophy Points:
    195
    #4
    Open the with a notepad or any other text editor and check if your data and tables is inside the SQL file.

    It sounds to me like you have a corrupt SQL or partial due to lost connection with the server.
     
    Mystique, Feb 26, 2007 IP
  5. punkd

    punkd Active Member

    Messages:
    307
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    60
    #5
    no everything seem to be fine with the sql. it might be because of the lost connection but im not sure. i tried 3 times and each had a different result(19853,21052,20125) dont know whats wrong

    plz help

    thanks
     
    punkd, Feb 26, 2007 IP
  6. JEET

    JEET Notable Member

    Messages:
    3,832
    Likes Received:
    502
    Best Answers:
    19
    Trophy Points:
    265
    #6
    What is the size of the dump, and how much does your host allow?
    I think a file of 80K records would be big in size...
    bye :)
     
    JEET, Feb 26, 2007 IP
  7. punkd

    punkd Active Member

    Messages:
    307
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    60
    #7
    well there is actually a total of 85192 records in the text file and the gzip is only 2.7mb and normal text is 17.7mb but my host allow over 250mb to be uploaded. i dont see why it wont work properly
     
    punkd, Feb 26, 2007 IP
  8. punkd

    punkd Active Member

    Messages:
    307
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    60
    #8
    and it turns out there is actually 4 tables not 2
     
    punkd, Feb 26, 2007 IP
  9. Your Content

    Your Content Banned

    Messages:
    1,096
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Try www.ozerov.de/bigdump.php the specialist in dumping large sql files.

    Just change a few values inside the single-file script to match your db details ;)
     
    Your Content, Feb 26, 2007 IP
    punkd likes this.
  10. punkd

    punkd Active Member

    Messages:
    307
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    60
    #10
    oo thats cool. thanks ill try it when i get home from school.

    thanks
     
    punkd, Feb 27, 2007 IP
  11. punkd

    punkd Active Member

    Messages:
    307
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    60
    #11
    omg thank you soooo much it worked out ok i got all my tables and 85k records. THANK YOU lol.

    THANK YOU
     
    punkd, Feb 27, 2007 IP
  12. Your Content

    Your Content Banned

    Messages:
    1,096
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    0
    #12
    My pleasure to help you out :)
     
    Your Content, Feb 27, 2007 IP