The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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

Discussion in 'General Discussion' started by bsasninja, Jun 17, 2005.

  1. bsasninja

    bsasninja Well-Known Member

    Joined:
    Sep 2, 2004
    Messages:
    528
    Likes Received:
    0
    Trophy Points:
    16
    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. webignition

    webignition Well-Known Member

    Joined:
    Jan 22, 2005
    Messages:
    1,880
    Likes Received:
    0
    Trophy Points:
    36
  3. Zachery

    Zachery Member

    Joined:
    Apr 15, 2004
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    Importing in mysql via the shell hasn't changed in ages.


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

    boom
     
Loading...

Share This Page