+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11

Thread: how to upload sql database?

  1. #1
    Join Date
    Jul 2008
    Posts
    0

    Default how to upload sql database?

    i've downloaded a backup of my website sql database.
    now i want to upload it back to bluehost, but i can't find anything in admin tools to upload an sql database.

  2. #2
    Join Date
    Feb 2006
    Posts
    569

    Default

    Control panel > phpMyAdmin > select database > import

  3. #3
    Join Date
    Jul 2008
    Posts
    0

    Default does't work...

    keeps timing-out. is there another way??

  4. #4
    Join Date
    Mar 2006
    Posts
    3

    Default You can do it from the command line

    It sounds you may have to upload the sql file to your account and import it via the command line.

    Bluehost has instructions in their knowledge base about how to do this: http://helpdesk.bluehost.com/kb/inde...od_id=2&id=184

  5. #5
    Join Date
    Feb 2006
    Posts
    569

    Default

    Quote Originally Posted by nirtober View Post
    keeps timing-out. is there another way??
    Seen that one before. Try importing a few tables at a time.

  6. #6
    Join Date
    Jul 2008
    Location
    France
    Posts
    21

    Default

    Hmm, I followed the instructions...how long should it take to import a 200meg database? It looks like my screen has hanged but maybe it takes more than ten minutes (??)

  7. #7
    Join Date
    Nov 2006
    Location
    Sydney, Australia
    Posts
    4,489

    Default

    For 200M you should expect it to take a lot longer than 10 minutes.

  8. #8
    Join Date
    Jul 2008
    Location
    France
    Posts
    21

    Default

    Okay, thanks for the info. I shall be more patient.

    Just to be clear, it's not via php: I've uploaded and unzipped the SQL database to a directory on the server, and I've used the SQL command in the helpfile linked above.

  9. #9
    Join Date
    Nov 2006
    Location
    Sydney, Australia
    Posts
    4,489

    Default

    I have seen it take several minutes to run all the commands in an SQL file that is under 1M in size.

  10. #10
    Join Date
    Jul 2008
    Location
    France
    Posts
    21

    Default

    Right then, I'll stick the kettle on...!

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts