ホームページ制作|札幌
ホームページ制作|札幌
北海道札幌市北区北6条西6丁目2-1朝日プラザ偕楽園506号室
営業時間 7:00-24:00 TEL/FAX 011-768-8116
代表:グレン チャールズ ロウ
67 Online (オンライン中(47ゲスト Guests 20検索ボート Bots, )

Category Archives: database

How to Export and Import Database in phpMyAdmin

INSTRUCTIONS

Method 1 – phpMyAdmin

Export

  1. Select your database from the list on the left.
  2. Click on “Export” from the top set of tabs.
  3. Select the tables from the list that you would like to back up. If you want to back up the entire database, click “Select All.”
  4. Make sure both the “Structure” and “Data” boxes are selected on the right. They should be, by default.In the Structure section, check the “Add DROP TABLE / DROP VIEW” box if you want this export to be able to replace existing tables of the same name. If you want to merge this backup with another database, do not select this.
  5. Check the “Save as file” box. Also select a compression option (such as “gzipped”) if you want to compress the backup before downloading it from the server.
  6. Click the “Go” button, and, at the prompt, save the file to your local computer.

Import

  1. Make sure the database you need has already been created. If it has not, please first create the database:

    CAUTION:

    If you import a backup file to a database that already has content, it will replace the existing content.

  2. In phpMyAdmin, select your database from the list on the left.
  3. Click on “Import” from the top set of tabs.
  4. Click on the “Browse” button next to “Location of the text file.”
  5. Browse to your local SQL file and click “Open.” If it is a zipped file, please unzip the file first.
  6. Click the “Go” button at the bottom. Wait while your database imports. Depending on the size, this can take a few minutes.

    You should get a message like this:Import has been successfully finished, X queries executed.

    If you instead receive an error, please try the command line method below.

How to Export and Import Database in phpMyAdmin

INSTRUCTIONS

Method 1 – phpMyAdmin

Export

  1. Select your database from the list on the left.
  2. Click on “Export” from the top set of tabs.
  3. Select the tables from the list that you would like to back up. If you want to back up the entire database, click “Select All.”
  4. Make sure both the “Structure” and “Data” boxes are selected on the right. They should be, by default.In the Structure section, check the “Add DROP TABLE / DROP VIEW” box if you want this export to be able to replace existing tables of the same name. If you want to merge this backup with another database, do not select this.
  5. Check the “Save as file” box. Also select a compression option (such as “gzipped”) if you want to compress the backup before downloading it from the server.
  6. Click the “Go” button, and, at the prompt, save the file to your local computer.

Import

  1. Make sure the database you need has already been created. If it has not, please first create the database:

    CAUTION:

    If you import a backup file to a database that already has content, it will replace the existing content.

  2. In phpMyAdmin, select your database from the list on the left.
  3. Click on “Import” from the top set of tabs.
  4. Click on the “Browse” button next to “Location of the text file.”
  5. Browse to your local SQL file and click “Open.” If it is a zipped file, please unzip the file first.
  6. Click the “Go” button at the bottom. Wait while your database imports. Depending on the size, this can take a few minutes.

    You should get a message like this:Import has been successfully finished, X queries executed.

    If you instead receive an error, please try the command line method below.

A4JP.COM DESIGN
Copyright & NPO Study © 2024