Solve phpMyAdmin upload large mysql file

Source: Internet
Author: User
Tags phpmyadmin

Method One, set php.ini:

Vi./php.inifile_uploads onupload_max_filesize = 150mpost_max_size = 200m# If you have a larger SQL file, you need to set it up: Max_execution_time 30 0 #每个PHP页面运行的最大时间值 (seconds), default 30 seconds Max_input_time #每个PHP页面接收数据所需的最大时间, default 60 seconds Memory_limit 128m #每个PHP页 Maximum memory required by the polygon, default 8M

Method Two, set phpmyadmin/config.inc.php:

If there is no config.inc.php, copy config.sample.inc.php to config.inc.php

$cfg [' uploaddir '] = ' upload '; $cfg [' savedir '] = ' save ';

1. Create upload and save subdirectories in the phpMyAdmin directory

2. Transfer the SQL file you want to import into the upload directory and refresh the phpMyAdmin, for example, select Execute:


。。。。。。。。。。。。。。。。。。。。。。。。。。

Solve phpMyAdmin upload large mysql file

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.