1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

problem restoring large database

Discussion in 'MySQL' started by moonrock, Aug 30, 2006.

  1. #1
    I have a database.. 250mb
    i tried to restore and it always gives a '10457 error' to my server.

    i tried to download and restore it locally on my PC
    and it either hang or timeout error.

    if there any software or better way to restore a large sql database ?
     
    moonrock, Aug 30, 2006 IP
  2. Neptune

    Neptune Well-Known Member

    Messages:
    1,465
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    108
    #2
    There is. Do you have root access to the server?
     
    Neptune, Aug 30, 2006 IP
  3. moonrock

    moonrock Peon

    Messages:
    187
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    yes i have. my backup.sql is still siting there.
    but it always hang my server when i try to restore.
    i'm on shared hosting, so i can configure the server.
     
    moonrock, Aug 30, 2006 IP
  4. noppid

    noppid gunnin' for the quota

    Messages:
    4,246
    Likes Received:
    232
    Best Answers:
    0
    Trophy Points:
    135
    #4
    in cron or ssh...

    mysql -u DB_USER_NAME -pDB_PASSWORD DB_NAME < /home/ACCOUNT_NAME/BACKUP_FILE_NAME.sql
     
    noppid, Aug 30, 2006 IP
  5. Mystique

    Mystique Well-Known Member

    Messages:
    2,579
    Likes Received:
    94
    Best Answers:
    2
    Trophy Points:
    195
    #5
    Mystique, Aug 30, 2006 IP
  6. moonrock

    moonrock Peon

    Messages:
    187
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #6
    my host dun allow cron and ssh. it's shared hosting..
     
    moonrock, Aug 30, 2006 IP
  7. moonrock

    moonrock Peon

    Messages:
    187
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #7
    moonrock, Aug 30, 2006 IP
  8. Amilo

    Amilo Peon

    Messages:
    624
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Use bigdump OR if you upload the database to your server as a file ask your webhost to do it for you with there ssh access, 9 times out of ten they will;)

    If not get a new host.
     
    Amilo, Sep 1, 2006 IP
  9. moonrock

    moonrock Peon

    Messages:
    187
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #9
    thanks!.. i managed to split the file and will suery them one by one!
    total 130 over files!!! will take my sloooow time!

    forget about my host.. they're not as helpful after my recent renewal..
     
    moonrock, Sep 1, 2006 IP
  10. [*-AnOnYmOuS-*]

    [*-AnOnYmOuS-*] Active Member

    Messages:
    253
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    58
    #10
    Are you aware you're gonna have to re-group all these 130 files? You would've been better off if you used a program that will allow you to continue downloading where you started..
     
    [*-AnOnYmOuS-*], Sep 2, 2006 IP
  11. dcristo

    dcristo Illustrious Member

    Messages:
    19,776
    Likes Received:
    1,199
    Best Answers:
    7
    Trophy Points:
    470
    Articles:
    7
    #11
    Get a new host if they can't use SSH for you.
     
    dcristo, Sep 2, 2006 IP
  12. Serpatinas

    Serpatinas Well-Known Member

    Messages:
    59
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    121
    #12
    Serpatinas, Sep 2, 2006 IP