Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Sep 2004
    Posts
    521

    Unhappy Cant import database help!!!!!!!!!!!!!!!!!!!!!!!!!!

    I´m using mysql 4.1.10a and the import commands changed. Could anyone tellme which is the right command for this version for importing .sql files ?? cause by phpmyadmin hangs my computer and I want to do it from command line.

    Thanks

  2. #2
    Member
    Join Date
    Jan 2005
    Posts
    1,880

    Default

    The MySQL documentation would probably be the best place to start your search.
    http://dev.mysql.com/doc/

  3. #3
    Member
    Join Date
    Apr 2004
    Posts
    18

    Default

    Importing in mysql via the shell hasn't changed in ages.


    mysql -uUSERNAME -pPASSWORD DATABASE < /path/to/file.sql

    boom
    Zachery Woods

Similar Threads & Tags
Similar threads

  1. How to import MySQL database via SSH
    By maxie in forum Database Discussions
    Replies: 4
    Last Post: 09-28-2011, 05:25 AM
  2. Import MySQL database
    By david_sh in forum Enkompass Discussions
    Replies: 1
    Last Post: 06-04-2011, 04:26 PM
  3. Import database
    By ASTRAPI in forum Database Discussions
    Replies: 4
    Last Post: 06-07-2009, 11:51 AM
  4. How Can I import data into an exsistense database
    By yumoryuk in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 03-19-2005, 06:43 PM
  5. Import my Database in Cpanel
    By Behrooz_Ice in forum cPanel and WHM Discussions
    Replies: 8
    Last Post: 04-05-2004, 11:09 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube