Y T Nuke  
Results 1 to 8 of 8
Hello BHW, Just few minutes ago I had to move one of my blogs from ...
  1. #1
    Mr.Profit's Avatar
    Mr.Profit is offline ⱲᴓƦӄ ϛμᶏƦȶ
    Join Date
    Dec 2009
    Location
    Internet
    Posts
    127
    Reputation
    61
    Blog Entries
    1
    Thanks
    85
    Thanked 380 Times in 62 Posts

    Default [How to] Import SQL DataBase Bigger than 100MB

    Hello BHW,

    Just few minutes ago I had to move one of my blogs from one hosting to another (both shared) and it turned out that the maximum import limit of SQL DB is 100MBs which was a problem for me, because my DB was bigger than that.

    I didn't want to chop the DB (mainly because I have never done this before), and I didn't want to contact support either, because the support of the hosting I've moved the blog to is ... not that good at least to say.


    So I began for searching for other solution and after few minutes I stumbled upon this script:
    Code:
    http://www.ozerov.de/bigdump/
    Direct Download:
    Code:
    http://www.ozerov.de/bigdump.zip
    This script automatically chops and uploads your DB to the new hosting without you doing anything besides changing some settings for the script to be able to .

    So, although it's self explanatory script here are the steps you need to take:

    1) Download your DB and files form the OLD hosting (Preferably via BACKUP)
    2) Upload all your files to the new hosting (Don't forget to change DNS records for the domain too)
    2.1) Upload your SQL DB file to the same directory you've uploaded your files on the NEW Hosting
    3) Download Big Dump
    4) Edit bigdump.php as required using your favorite PHP Editor (hint Notepad++ will do), e.g:

    PHP Code:
    ......
    // Database configuration

    $db_server   'localhost'//unless you use remote DB connection don't change this
    $db_name     ''//The name of your DB on the NEW hosting
    $db_username ''//The username to access the DB on your NEW hosting
    $db_password '';  //Password for the DB on the NEW Hosting

    // Other settings (optional)

    $filename           '';     // Specify the dump filename to suppress the file selection dialog;  
    //THE ABOVE IS THE FULL FILE NAME of your SQL DB dump file!!!
    ........... 
    5) Upload bigdump.php TO THE SAME FOLDER as the SQL DB Dump FILE!!!!

    6) Access bigdump.php on your domain from any Web Browser, e.g.
    Code:
    http://my-domain-name.com/bigdump.php
    You will be presented with the following picture (or similar):


    7) Click on Start Import

    8) If everything is done correctly your blog should be up and running in few minutes (for me it was like 20 seconds, but it depends on your SQL DB size)


    There's an explanation how to use the bigdump.php file in the file itself, but I hope this tutorial will help less experienced users.

    Happy moving everyone!

    Kind Regards,
    Mr.Profit
    Last edited by Mr.Profit; 09-29-2011 at 08:26 AM. Reason: Spelling, spelling ....
    Pinterest accounts in stock...

  2. The Following User Says Thank You to Mr.Profit For This Useful Post:

    extremephp (10-03-2011)

  3. #2
    Dshah is offline Newbies
    Join Date
    Dec 2009
    Posts
    44
    Reputation
    10
    Thanks
    27
    Thanked 33 Times in 5 Posts

    Default Re: [How to] Import SQL DataBase Bigger than 100MB

    or you can use mysqldumper http://www.mysqldumper.net/

  4. #3
    Mr.Profit's Avatar
    Mr.Profit is offline ⱲᴓƦӄ ϛμᶏƦȶ
    Join Date
    Dec 2009
    Location
    Internet
    Posts
    127
    Reputation
    61
    Blog Entries
    1
    Thanks
    85
    Thanked 380 Times in 62 Posts

    Default Re: [How to] Import SQL DataBase Bigger than 100MB

    Quote Originally Posted by Dshah View Post
    or you can use mysqldumper http://www.mysqldumper.net/
    Maybe you could, BUT this is not the purpose of this tutorial thread.

    MySQLDumper is used to backup and restore your SQL DBs, and could be used for moving, but that's not the main purpose of the tool.

    On the other hand MySQLDumper has a feature to SPLIT the DBs to smaller files, and that's why it's irrelevant to this thread.

    What I tried to do is to give a solution to somone who didn't use this tool you are speaking nor has spitted the DB when he should have.

    Thanks for your reply though.

    Regards,
    Mr.Profit
    Pinterest accounts in stock...

  5. #4
    RoiBox is offline Newbies
    Join Date
    Apr 2009
    Location
    Gothenburg | Sweden
    Posts
    47
    Reputation
    12
    Thanks
    114
    Thanked 18 Times in 14 Posts

    Default Re: [How to] Import SQL DataBase Bigger than 100MB

    I always use http://www.heidisql.com it´s a great little tool .. =)

  6. #5
    jolt3500's Avatar
    jolt3500 is online now Junior Member
    Join Date
    Jun 2009
    Posts
    110
    Reputation
    10
    Thanks
    32
    Thanked 2 Times in 2 Posts

    Default Re: [How to] Import SQL DataBase Bigger than 100MB

    Had this issue when I change servers. Thanks for the link. Think I will do a backup right now, just cus.

  7. #6
    lazyfrog's Avatar
    lazyfrog is offline Registered Member
    Join Date
    Jan 2009
    Posts
    95
    Reputation
    20
    Thanks
    15
    Thanked 25 Times in 21 Posts

    Default Re: [How to] Import SQL DataBase Bigger than 100MB

    Bookmarked, that will help next time I might change my hosting.

  8. #7
    Mr.Profit's Avatar
    Mr.Profit is offline ⱲᴓƦӄ ϛμᶏƦȶ
    Join Date
    Dec 2009
    Location
    Internet
    Posts
    127
    Reputation
    61
    Blog Entries
    1
    Thanks
    85
    Thanked 380 Times in 62 Posts

    Default Re: [How to] Import SQL DataBase Bigger than 100MB

    Quote Originally Posted by jolt3500 View Post
    Had this issue when I change servers. Thanks for the link. Think I will do a backup right now, just cus.
    Quote Originally Posted by lazyfrog View Post
    Bookmarked, that will help next time I might change my hosting.
    You are welcome guys! It really is pain to move one hosting to other, and when you have even more roadblocks it can get ugly pretty quickly.

    I'm glad that this thread was not just a waste of web space

    Regards,
    Mr.Profit
    Pinterest accounts in stock...

  9. #8
    Florist88's Avatar
    Florist88 is offline Newbies
    Join Date
    Jul 2009
    Posts
    40
    Reputation
    10
    Thanks
    22
    Thanked 7 Times in 3 Posts

    Default Re: [How to] Import SQL DataBase Bigger than 100MB

    Yep, also used bigdump before, it was a great help. Thanks for the reminder

Natural Slow Link Building


SEO Blasts - High quality link building service

Similar Threads

  1. Replies: 4
    Last Post: 01-12-2011, 09:24 PM
  2. Replies: 0
    Last Post: 03-14-2009, 08:10 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
  SEnukeX SEO Software
Proudly Powered by Hostwinds.com Web Hosting Click Here For Exclusive BHW Discounts!

Cheap Web Hosting


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76