Home  >  Article  >  Database  >  运用mysql中的source命令导入大的sql文件的解决方法_MySQL

运用mysql中的source命令导入大的sql文件的解决方法_MySQL

WBOY
WBOYOriginal
2016-06-01 13:38:41976browse

bitsCN.com


运用mysql中的source命令导入大的sql文件的解决方法

 

1    

在mysql的安装目录下 找到 my.ini文件 加入以下代码:

2

 

3

interactive_timeout = 120

4

wait_timeout = 120

5

max_allowed_packet = 32M

 

bitsCN.com
Statement:
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