Phpmyadmin data backup and Restoration Methods

Source: Internet
Author: User

Phpmyadmin data backup and Restoration Methods

Data backup:

Open the Forum database in phpmyadmin and click "Export" in the menu bar. In the export box on the left, select all the tables and in the "structure" column on the right, select "add drop table", "add AUTO_INCREMENT value", and "use quotation marks in TABLE name and field name", and select "Save As file" at the bottom of the point for execution, save the backup file to the backup location. For example:

Data Recovery:

You can use phpmyadmin to restore data as follows:

Open the Forum database in phpmyadmin, click "import" in the menu bar, and click "Browse" in the "text file location" to import the exported backup data text file and execute the file. For example:

Note: This backup and recovery method is suitable for forums where the data volume is not large. When importing data in phpmyadmin on the new server, note that the database character set on the new server must be consistent with the database character set on the original server. Otherwise, garbled characters may occur. Discuz! A simple method to prevent garbled characters is to set the configuration when installing the Forum in the new space. inc. set the dbcharset in the php file to the same database character set as before migration, and then start to install the forum.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.