how to import a very large query over phpmyadmin?

前端 未结 6 605
旧时难觅i
旧时难觅i 2020-12-21 05:21

if my host does not allow me to upload a file directly to my mysql folder and i can only do so throught phpmyadmin? are there any alternatives aside from its native import f

6条回答
  •  北海茫月
    2020-12-21 05:30

    you can gzip or bzip the file and phpMyAdmin will decompress and run the script.

    otherwise what I've had to do in the past is split my SQL into a number of files and load each one individually. You can do this simply by opening the SQL file in a text editor, scroll to about half way down, find the start of a statement and move everything after that into another file.

提交回复
热议问题