Loading...

.sql檔過大無法匯入phpMyAdmin

Temperature: 0 °C

ChungChung
author_tools

修改phpMyAdmin資料夾中的config.inc.php檔。
打開後找到下列兩行或自行加入:


$cfg['UploadDir'] = 'ImportSQLFile';  ←上傳資料夾的名稱
$cfg['SaveDir'] = 'ExportSQLFile';       ←匯出資料夾的名稱

然後在phpmyadmin中建立ImportSQLFile與ExportSQLFile資料夾,
一個用來上傳大容量的sql檔,一個用來匯出sql檔。
把需要匯入的大容量sql檔以winscp上傳到ImportSQLFile資料夾中,
再回到phpmyadmin載入介面,
就會發現在載入檔案的地方多出web server upload directory的功能。
此時僅需要選擇剛剛傳進去的SQL檔就可以輕鬆匯入了!

https://innstory.com/story-sql檔過大無法匯入phpMyAdmin-139
寫程式筆記

Prev
 招集令Yessir

Next
JavaScript_檢查_Radio_Button 

About the Author

Chung

我是chung
網路工作者
主業是網站系統開發建置
副業是做夢,寫故事
作品請參考/teme.biz
做夢請參考/innstory.com
聯絡/chung.teme@gmail.com

#有人用筆寫日記,有人用歲月寫日記,有人用照片寫日記,而我,用innstory寫日記。

Visitor message

Leave some footprints to prove that you visited me

Recommended reading

Author's other related stories

在PHP裡面如何做到基本的SQL injection防禦?

在PHP裡面如何做到基本的S...

資訊安全一直是很頭痛的問題....我一直以來也在尋找最好的方式... 但在尋找的過程中...至少也得...

圖文穿插效果

圖文穿插效果

寫故事還是得圖文穿插看起來方便些~ 其實一直都在找最適合寫故事的方式,一開始我把所有上傳照片都放在故...

如何用javascript接收radio button被選取後的值

如何用javascript接...

剛剛竟然犯了最簡單的錯誤~ 而且還是在趕著時間的時候⊙⊙ 我竟然蠢到用接收input 的方式去接收 ...

Please select an option

error

Hi, thank you for your participation, but you cannot vote repeatedly~

Join innstory now and start recording your story.

"Innstory" is a place to store stories. We are committed to becoming a warm platform. Deepening the bonds between people is our direction.
We are convinced that the blockchain between people is not just a cold calculation. Join us now.

Wrong format