How to solve time out in phpmyadmin?

后端 未结 10 1380
野性不改
野性不改 2020-11-29 21:30

I want import huge (at least 300 mb) sql scripts via phpMyAdmin.

I\'ve tried:

post_max_size = 750M
upload_max_filesize = 750M
max_ex         


        
10条回答
  •  孤街浪徒
    2020-11-29 22:07

    I had this issue too and tried different memory expansion techniques I found on the web but had more troubles with it. I resolved to using the MySQL console source command, and of course you don't have to worry about phpMyAdmin or PHP maximum execution time and limits.

    Syntax: source c:\path\to\dump_file.sql

    Note: It's better to specify an absolute path to the dump file since the mysql working directory might not be known.

提交回复
热议问题