How to increase memory size for phpmyadmin

前端 未结 7 1697
谎友^
谎友^ 2021-01-02 11:00

I am facing some problem when I am trying to import magento database on localhost. It just import 18 table but in actual it contain 383 approx table. It gives error given be

7条回答
  •  执念已碎
    2021-01-02 11:20

    I was the same problem with the migration of database.

    Try to change configuration of export to build file with queries like this:

    INSERT INTO tbl_name VALUES (1,2,3)
    

    When I was creating queries like this one:

    INSERT INTO tbl_name (col_A,col_B) VALUES (1,2,3), (4,5,6), (7,8,9)
    

    queries were too big to allocate them in memory. When I changed it, there were a lot of small queries so there wasn't problem with memory.

提交回复
热议问题