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

Results 1 to 10 of 10
  1.     
    #1
    Member
    Website's:
    Dlwave.info FlickW.com DirtyDingo.org SoftLayer.com KWWHunction.com WorldSex.com

    Post How to IMPORT MySQL database using SSH in Kloxo On VPS ??

    How to IMPORT MySQL database using SSH in Kloxo On VPS ??
    The Rock Reviewed by The Rock on . How to IMPORT MySQL database using SSH in Kloxo On VPS ?? How to IMPORT MySQL database using SSH in Kloxo On VPS ?? :facepalm: Rating: 5


  2.   Sponsored Links

  3.     
    #2
    Member
    Website's:
    ihide.info experthide.com hideonthe.net
    Code: 
    mysql -u username -p database_name < dumpfile.sql
    Use that

  4.     
    #3
    Member
    Website's:
    EastsideHosting.com MediaONAIR.com ImgWiz.com cPadmin.net EastsidePCWorks.com HostedTalk.com
    Awesome useful tool, I have coded a ssh script once before because I could never remember the correct syntax.

    Code: 
    echo "MySQL Username"
    read username
    echo "MySQL Database"
    read database
    echo "MySQL File"
    read file
    mysql -u $username -p $database < $file
    Copy and Paste, save as: mysqlimport.sh - chmod +x 755 and sh mysqlimport.sh and follow the onscreen prompts, I should update my easy ssh tools.
    EastsideHosting - (Web Hosting, Proxy Hosting, Reseller Program)
    MediaONAIR - (SHOUTcast Servers, ICEcast Servers, Reseller Program)
    Server Administrator - (Dedicated Servers, VPS Management, One Time Services)
    ImgWiz - (Free Image Hosting)

  5.     
    #4
    Member
    Website's:
    Dlwave.info FlickW.com DirtyDingo.org SoftLayer.com KWWHunction.com WorldSex.com
    Quote Originally Posted by Forgiven View Post
    Code: 
    mysql -u username -p database_name < dumpfile.sql
    Use that

    i try that but its not working...


  6.     
    #5
    Member
    Website's:
    EastsideHosting.com MediaONAIR.com ImgWiz.com cPadmin.net EastsidePCWorks.com HostedTalk.com
    You have to be in the same directory as the file.
    EastsideHosting - (Web Hosting, Proxy Hosting, Reseller Program)
    MediaONAIR - (SHOUTcast Servers, ICEcast Servers, Reseller Program)
    Server Administrator - (Dedicated Servers, VPS Management, One Time Services)
    ImgWiz - (Free Image Hosting)

  7.     
    #6
    Banned
    Website's:
    takedownpiracy.com
    it should be

    mysql -uusername -pdatabase_name < dumpfile.sql

  8.     
    #7
    It begins...
    And the error is?

  9.     
    #8
    Member
    Website's:
    Dlwave.info FlickW.com DirtyDingo.org SoftLayer.com KWWHunction.com WorldSex.com
    Quote Originally Posted by Lifetalk View Post
    And the error is?
    No such files directories
    i give with this also home/admin/my directories.


  10.     
    #9
    It begins...
    Quote Originally Posted by Dj Mad View Post
    it should be

    mysql -uusername -pdatabase_name < dumpfile.sql
    That syntax is wrong. There's a space between -u and the username. There is, however, no space between -p and the password (or the password can be left blank and entered at the prompt that follows).


    @OP
    cd to the directory where the .sql file is hosted, then run the command

  11.     
    #10
    Member
    Website's:
    EastsideHosting.com MediaONAIR.com ImgWiz.com cPadmin.net EastsidePCWorks.com HostedTalk.com
    I don't think it matters, I've used the first syntax and the ones without spaces and they all tend to work.
    EastsideHosting - (Web Hosting, Proxy Hosting, Reseller Program)
    MediaONAIR - (SHOUTcast Servers, ICEcast Servers, Reseller Program)
    Server Administrator - (Dedicated Servers, VPS Management, One Time Services)
    ImgWiz - (Free Image Hosting)

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. 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. Database Import Problem
    By praveer in forum Server Management
    Replies: 16
    Last Post: 23rd Jun 2011, 07:54 AM
  5. How to Import database.sql
    By Trusteduploader in forum Web Application/Script Support
    Replies: 6
    Last Post: 27th Mar 2011, 05:00 PM

Tags for this Thread

BE SOCIAL