Starting with version 2.7.0, the import engine has been re–written and these problems should not occur. If possible, upgrade your phpMyAdmin to the latest version to take advantage of the new import features.
The first things to check (or ask your host provider to check) are the values of upload_max_filesize, memory_limit and post_max_size in the php.ini configuration file. All of these three settings limit the maximum size of data that can be submitted and handled by PHP. One user also said that post_max_size and memory_limit need to be larger than upload_max_filesize.
以上文件大致說(shuō)明的意思就是說(shuō),遇到導(dǎo)入過(guò)大文件時(shí),首先檢查php.ini 配置文件中的以下三個(gè)地方,upload_max_filesize, memory_limit 和post_max_size,并且推薦修改的值要稍大于導(dǎo)入的巨大sql數(shù)據(jù)庫(kù)文件。
依照這個(gè)提示,我修改了以上三個(gè)在php.ini中的值以后,重啟 了php環(huán)境,再次導(dǎo)入時(shí),雖然phpmyadmin還是顯示導(dǎo)入最大限制:20,480 KB,但巨大的80M數(shù)據(jù)庫(kù)文件已經(jīng)被成功的導(dǎo)入了。
所用phpMyAdmin的版本為 2.8.1,環(huán)境:APMServ 5.1.2
相關(guān)教程推薦:phpmyadmin
更多關(guān)于云服務(wù)器,域名注冊(cè),虛擬主機(jī)的問(wèn)題,請(qǐng)?jiān)L問(wèn)西部數(shù)碼官網(wǎng):m.ps-sw.cn