How to Export and then Import a MySQL database using PhpMyADMIN

Problem:

How to Export and then Import a MySQL database using PhpMyADMIN



Solution:

The following are the steps to Export and then Import a MySQL database usnig phpMyAdmin


 
Export from phpMyAdmin

     
  1. Open cPanel and open your phpMyAdmin
     
  2. On the welcome screen you will see an Export option click on this link
     
  3. This will bring up the view dump (schema) of databases screen
     
  4. Select the tables you wish to be exported from the list .Select structure and data to backup the whole table/ database. Select data only if you only want to back up data. You can click the 'Export' button at any time, but if you want to back up the entire database, then you must be at the database structure page and click the export button
     
  5. Ensure you choose SQL as the option (this will alow you to just paste the SQL for your remote server)
     
  6. It will create text file on the screen, highlight the information and paste it into a text document. Save this for when you get hosting.

    Import to phpMyAdmin
     
  7. Open cPanel and open your phpMyAdmin on your remote server.
     
  8. On the welcome screen you will see an Query window option (lower left corner) click on this link
     
  9. Paste the contents of the text file that you exported and done. Your database and it's contents are moved.

 

  • 0 Els usuaris han Trobat Això Útil
Ha estat útil la resposta?

Articles Relacionats

Connect to a mysql database using a dsn connection via asp

Problem: Connect to a mysql database using a dsn connection via asp Solution: * If you have...

Which port should I use, 80 or 3306 ?

Problem: Which port should I use, 80 or 3306 ? Solution: You should ALWAYS use port 3306,...

Connect to a mysql database using a dsn-less connection via asp

Problem: Connect to a mysql database using a dsn-less connection via asp Solution:...

ERROR 2008: MySQL client ran out of memory

Problem: ERROR 2008: MySQL client ran out of memory Solution: Problem:   If you issue...

how we can setup a system DSN to access our MySQL database through ASP

Problem: how we can setup a system DSN to access our MySQL database through ASP Solution:...