Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    527
    Likes Received:
    0
    Trophy Points:
    166
    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:
    166
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Zachery

    Zachery Member

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


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

    boom
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice