PhpMyAdmin supports importing zip Databases

Source: Internet
Author: User
Tags zip extension mysql import

To enable phpMyAdmin to support ZIP files, first install the zip extension in your php.
Open the phpMyAdmin configuration file config. Inc. php and add the followingCode:

$ Cfg ['zipdump'] = true

Restart the Apache server.

As the data volume of our PHP project increases, we need to regularly back up the database periodically, which usually involves MySQL import and export. However, you may note that, by default, when you use phpMyAdmin to manage MySQL, MySQL can only import 2 MB of data by default, which cannot meet the needs of importing a large amount of data. It doesn't matter. In this section, we will introduce how to solve the limit of 2 MB of data imported from MySQL.

PhpMyAdmin import large database file size limit configuration...

1. Modify the values of the following three items in the PHP. ini file:
Upload_max_filesize: the size of the uploaded file.
Memory_limit
Maximum value of data submitted by post_max_size
Modify the size value you want to change.

2. modify or add this setting to the phpMyAdmin configuration file:
This file is generally the config. Inc. php file under the phpMyAdmin directory.
$ Cfg ['exectimelimmit '] = 0; // maximum execution time in seconds (0 for no limit)
The default value is 300 seconds. If it is changed to 0, it indicates no restriction.

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.