Home > Backend Development > PHP Tutorial > How to solve the size limit problem of importing large sql files into MySQL, mysqlql_PHP tutorial

How to solve the size limit problem of importing large sql files into MySQL, mysqlql_PHP tutorial

WBOY
Release: 2016-07-13 09:44:42
Original
1047 people have browsed it

To solve the problem of MySQL importing large sql file size limit, mysqlql

The solution process is as follows:

1. Since mysql can parse sql compressed files, 200M is compressed into 5M.

2. By default: MySQL import file size is limited, the maximum is 2M, so when the file is very large, it cannot be imported directly. You can modify the php.ini parameter adjustment:

Modify relevant parameters in php.ini:

There are three parameters that affect the size of the MySQL import file:,

memory_limit=128M,upload_max_filesize=2M,post_max_size=8M

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/1048720.htmlTechArticleTo solve the problem of MySQL importing large sql file size limit, the mysqlql solution process is as follows: 1. Since mysql can parse sql Compress the file, so 200M is compressed to 5M. 2. By default:...
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template