Activity Stream
48,167 MEMBERS
6799 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Results 1 to 10 of 18

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1.     
    #1
    Banned
    Website's:
    SmartWarez.org SwoImage.com MazaOnline.com
    If you have ssh access,then it's so easy, go and download putty enter Your details..

    You will need the database username, password and database name, and putty
    After you ssh into OLD server, type "mysqldump -u USER_NAME -p DB_NAME | gzip > FILE.sql.gz"
    Enter the database password when it asks. Then, usinf FTP or sFTP, copy the FILE.sql.gz file from the OLD server to the NEW server. (Presumably by copying it from OLD server to your PC and then to NEW server.)
    After you ssh into NEW server, type "gunzip < FILE.sql.gz | mysql -u USER_NAME -p DB_NAME"
    Enter the database password when it asks. When it is done, your database will be copied to the new server.

    Restoring . ssh to new host (make sure the database actually exists!)

    mysql database -uusername -p < database.sql
    or simply mysql database -uusername -p
    enter password
    source database.sql

    PM me if you need more help.
    AoN Reviewed by AoN on . How to import a large database Hi, how to import a large database in mysql? I have tried bigdump but I'm getting an internal error. Have tried many other method even then no result! Help please Rating: 5

  2.   Sponsored Links

  3.     
    #2
    Respected Member
    Website's:
    nooky.us
    I use HeidSQL ... free and don't have to install anything on your server.

    Works perfect!

    http://www.heidisql.com/

  4.     
    #3
    Member
    Quote Originally Posted by SmartWareZ View Post
    If you have ssh access,then it's so easy, go and download putty enter Your details..

    You will need the database username, password and database name, and putty
    After you ssh into OLD server, type "mysqldump -u USER_NAME -p DB_NAME | gzip > FILE.sql.gz"
    Enter the database password when it asks. Then, usinf FTP or sFTP, copy the FILE.sql.gz file from the OLD server to the NEW server. (Presumably by copying it from OLD server to your PC and then to NEW server.)
    After you ssh into NEW server, type "gunzip < FILE.sql.gz | mysql -u USER_NAME -p DB_NAME"
    Enter the database password when it asks. When it is done, your database will be copied to the new server.

    Restoring . ssh to new host (make sure the database actually exists!)

    mysql database -uusername -p < database.sql
    or simply mysql database -uusername -p
    enter password
    source database.sql

    PM me if you need more help.

    i simply do ->
    mysql -D database_name < file.sql

    lol easier.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Can't import dreamhost database in other
    By rahul23 in forum Server Management
    Replies: 11
    Last Post: 10th Feb 2012, 01:50 PM
  2. who knows how to import a large database on VPS via SSH . please help
    By Ciul3x in forum Technical Help Desk Support
    Replies: 11
    Last Post: 27th Oct 2011, 09:25 PM
  3. How To Import Large DataBase On to Kloxo?
    By desibreaker in forum Tutorials and Guides
    Replies: 0
    Last Post: 23rd Jul 2011, 02:46 PM
  4. How to Import database.sql
    By Trusteduploader in forum Web Application/Script Support
    Replies: 6
    Last Post: 27th Mar 2011, 05:00 PM
  5. Cannot import phpbb2 database :S
    By babarali124 in forum vBulletin
    Replies: 2
    Last Post: 12th Jun 2010, 04:52 PM

Tags for this Thread

BE SOCIAL