LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 988|回复: 2

用phpmyadmin导入数据的时候,怎么才能让它导入大于2M的数据

[复制链接]
发表于 2007-5-21 17:20:19 | 显示全部楼层 |阅读模式
请教用phpmyadmin导入数据的时候,怎么才能让它导入大于2M的数据
发表于 2007-5-22 07:27:35 | 显示全部楼层
在php.ini 把文件大小改下
回复 支持 反对

使用道具 举报

发表于 2007-5-22 21:26:33 | 显示全部楼层
网上搜来的:
http://www.webmasterworld.com/forum40/1202.htm

In the php.ini you can set the following:

; Maximum allowed size for uploaded files.
upload_max_filesize = 2m

If you don't have access to your php.ini file, try using the ini_set() function to set the limit. I believe it would look something like this:

ini_set('upload_max_filesize', '2m');

Maybe by placing that line in the phpmyadmin 'config.inc.php' file, you can make a larger transfer.

Cheers,
Jeff
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表