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

Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17
  1.     
    #11
    Member
    Website's:
    MechoDDL.com Leaserver.com
    Easiest method for you mate ...

    Login to ssh and do this ...

    mysql -uUSERNAME -pPASSWORD DATABASENAME < MYDATABASE.sql

    instead of USERNAME put your username
    instead of PASSWORD put your pass ofc
    instead of DATABASENAME put your empty database that you created to import your data into
    instead of MYDATABASE.sql put your .sql file name.

    Good luck,
    Ryan
    But the file is stored locally on my computer. Its not on the VPS. Will the method stil work?

    Thanks
    || Leaserver : Virtual Server Solutions
    || Leaserver.com - Virtual servers | Netherlands
    || 99.9% server uptime guaranteed
    || www.leaserver.com | email : sales@leaserver.com

  2.   Sponsored Links

  3.     
    #12
    Member
    @praveer
    use ftp to upload database to ur server first,then login to ssh & use this command

    mysql -u dbusername -p databasename < /path/to/backupname.sql

    You will be prompted for the database password. Enter it and the database will restored.

  4.     
    #13
    Member
    Website's:
    MechoDDL.com Leaserver.com
    Mate here uploading speed sucks
    || Leaserver : Virtual Server Solutions
    || Leaserver.com - Virtual servers | Netherlands
    || 99.9% server uptime guaranteed
    || www.leaserver.com | email : sales@leaserver.com

  5.     
    #14
    Member
    How big is your db?

    Compress the file before upload.

  6.     
    #15
    Member
    Mate here uploading speed sucks
    then just go in ssh and type

    nano file.sql

    it will open up text editor, just copy the text from your own computer and paste it in the terminal.

    then save the file and run the command

    mysql -u dbusername -p databasename < file.sql



    If you still need help, let us know

    Cheers,
    Ryan
    vpsBox - SolusVM Templates (w/cPanel) // PHP Scripts // BASH Scripts // Tutorials
    MyRSK - Budget (managed) VPS's with a touch of personal support!

  7.     
    #16
    Member
    Website's:
    MechoDDL.com Leaserver.com
    Its 45 MB lemme try to compress it.
    || Leaserver : Virtual Server Solutions
    || Leaserver.com - Virtual servers | Netherlands
    || 99.9% server uptime guaranteed
    || www.leaserver.com | email : sales@leaserver.com

  8.     
    #17
    Member
    Its 45 MB lemme try to compress it.
    Yea, do that

    It is quite big, so do not use the copy/paste method. Better to just let it upload.

    Cheers,
    Ryan
    vpsBox - SolusVM Templates (w/cPanel) // PHP Scripts // BASH Scripts // Tutorials
    MyRSK - Budget (managed) VPS's with a touch of personal support!

Page 2 of 2 FirstFirst 12

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Kloxo database import
    By saini in forum Server Management
    Replies: 2
    Last Post: 4th May 2012, 01:33 AM
  2. Can't import dreamhost database in other
    By rahul23 in forum Server Management
    Replies: 11
    Last Post: 10th Feb 2012, 01:50 PM
  3. 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
  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. How to import a large database
    By desibreaker in forum Server Management
    Replies: 17
    Last Post: 26th Oct 2009, 12:43 AM

Tags for this Thread

BE SOCIAL