Database import in Cpanel 11?

Discussion in 'MySQL' started by 3DProf4online, Sep 15, 2008.

  1. #1
    Hello guys! The situation is the following - I have some databases on local host and now I am going to upload website to hosting! My friend provided me with some place on his hosting account and now I am going to test a website! Could you please explain how should I act with my ready databases if I have Cpanel 11 installed? I don't wish to rewrite them again and just would like to move them from local host to hosting! Thanks a lot in advance!
     
    3DProf4online, Sep 15, 2008 IP
  2. mwasif

    mwasif Active Member

    Messages:
    816
    Likes Received:
    23
    Best Answers:
    1
    Trophy Points:
    70
  3. kailash

    kailash Well-Known Member

    Messages:
    1,248
    Likes Received:
    42
    Best Answers:
    0
    Trophy Points:
    190
    #3
    You can import your database from PHPMyAdmin.

    Kailash
     
    kailash, Sep 15, 2008 IP
  4. 3DProf4online

    3DProf4online Peon

    Messages:
    906
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Is it possible if my Cpanel is provided with PHPMyAdmin 2.11.6 version? I have tried once but my attempt has failed!
     
    3DProf4online, Sep 16, 2008 IP
  5. kailash

    kailash Well-Known Member

    Messages:
    1,248
    Likes Received:
    42
    Best Answers:
    0
    Trophy Points:
    190
    #5
    Yes, you should be able to import your database. But it also depends on the database size. If it is higher then maximum limit provided in PHPMyAdmin then you will need to provide the dump of your database to hosting provider.Or if you have shell access then you can restore your MySQL database from SSH.

    Kailash
     
    kailash, Sep 17, 2008 IP
  6. yyahmee

    yyahmee Peon

    Messages:
    29
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    If it's too big for PMA, either use BigDump or SSH (mysql -u <database_user> -p<database_password> <database_name> < <database_backup_filename>
     
    yyahmee, Sep 18, 2008 IP