How to import large sql file in phpmyadmin

前端 未结 20 1463
一向
一向 2020-11-29 17:04

I want to import a sql file of approx 12 mb. But its causing problem while loading. Is there any way to upload it without splitting the sql file ?

20条回答
  •  青春惊慌失措
    2020-11-29 17:44

    1. Open your sql file in a text editor (like Notepad)
    2. Select All -> Copy
    3. Go to phpMyAdmin, select your database and go to SQL tab
    4. Paste the content you have copied in clipboard
    5. It might popup a javascript error, ignore it
    6. Execute

提交回复
热议问题