【发布时间】:2015-10-03 04:57:07
【问题描述】:
将我的 636MB 数据库导入 Wampserver 时,出现以下错误。有趣的是,我在(php.ini)中将最大执行时间设置为 5000。我还尝试了许多导入方法和压缩类型,结果都相同:MySql Console、PhpMyAdmin Console、BigDump、zip、gzip,最后使用 config.inc.php 上传指定目录。感谢您的所有帮助、建议和建议。
当前设置:
php.ini:
post_max_size = 750M
upload_max_filesize = 750M
max_execution_time = 5000
最大输入时间 = 5000
memory_limit = 1000M
config.inc.php:
// 最大执行时间,以秒为单位(0 表示无限制)
$cfg['ExecTimeLimit'] = 0;
my.ini:
max_allowed_packet = 200M
MySQL said:
1064 - Erreur de syntaxe près de '<br />
Fatal error: Maximum execution time of 300 seconds exceeded in <b' Ã la ligne 141
Error
SQL query:
INSERT INTO `log_url_info` (`url_id`, `url`, `referer`) VALUES
(2287337, 'http://www.website12345.com/sendfriend/product/send/id/44894/', NULL),
(2287338, 'http://www.website12345.com/sendfriend/product/send/id/44894/', NULL),
(2287339, 'http://www.website12345.com/sendfriend/product/send/id/44894/', NULL),
(2287340, 'http://www.website12345.com/catalog/category/view/id/66', NULL),
(2287341, 'http://www.website12345.com/catalog/category/view/id/718?multi_select_color_filter=2040', NULL),
(2287342, 'http://www.website12345.com/catalog/category/view/id/879?price=1000-2000', NULL),
(2287343, 'http://www.website12345.com/catalog/category/view/id/152?
limit=15&manufacturer=351&mode=list&multi_select_finish_filter=2602&multi_select_material_filter=2060&price=-1000', NULL),
(2287344, 'http://www.website12345.com/sendfriend/product/send/id/30583/', NULL),
(2287345, 'http://www.website12345.com/catalog/category/view/id/673?multi_select_finish_filter=2025', NULL),
(2287346, 'ht[...]
【问题讨论】:
-
这是两个不同的错误。您可能想先关注 sql 语法错误?
标签: php mysql database wampserver