How to transfer a database? Need help asap

Discussion in 'Databases' started by Joshdube, Sep 27, 2008.

  1. #1
    Hi there,

    I have a database for a website that i am selling. How to i transfer the database?

    Josh
     
    Joshdube, Sep 27, 2008 IP
  2. DellTrotter

    DellTrotter Guest

    Messages:
    49
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    you need to go to phpmyadmin and click the export button. this will save a copy of the db to your hard drive.
     
    DellTrotter, Sep 27, 2008 IP
  3. wussadotcom

    wussadotcom Banned

    Messages:
    1,168
    Likes Received:
    43
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Besides cpanel what other tool?
     
    wussadotcom, Sep 27, 2008 IP
  4. Joshdube

    Joshdube Well-Known Member

    Messages:
    468
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    110
    #4
    Ok, thanks for your help!

    Josh
     
    Joshdube, Sep 28, 2008 IP
  5. jliu

    jliu Peon

    Messages:
    235
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #5
    From the command line, execute the following:

    mysqldump –-user yourusernamehere –-password=yourpasswordhere yourdatabasename > anynameforyourbackuphere
     
    jliu, Sep 28, 2008 IP