php - Fixing 1064 SQL Error Importing Database into Wampserver -
when importing 636mb database wampserver below error. interesting have max execution time set 5000 in (php.ini). have tried numerous import methods , compression types same results: mysql console, phpmyadmin console, bigdump, zip, gzip , using config.inc.php upload specified directory. thank help, suggestions & advice.
current settings:
php.ini:
post_max_size = 750m
upload_max_filesize = 750m
max_execution_time = 5000
max_input_time = 5000
memory_limit = 1000m
config.inc.php:
// maximum execution time in seconds (0 no limit)
$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 `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[...]
it appears have syntax errors on sql query try check first.
i have managed import 800mb database using command line.
try:
mysql -p -u username -h 127.0.0.1 database < database.sql
let me know if works.
Comments
Post a Comment