A 8 MB dökümü muhtemelen biraz çok büyük: sorunların kaynağı olabilir çeşitli parametreler vardır:
- Sizin sunucusu yüklenenler kabul olmayabilir büyük
- Verilerini içe çok fazla zaman alabilir (exceeding the PHP
max_execution_time
, örneğin) em>
If you have a command-line access to your server (via SSH, for instance), a solution would be to use the mysql
command to import the dump ; something like this might do :
mysql --user=USER --password=PASSWORD DBNAME < YOUR_DUMP_FILE
(I've imported dumps of several hundreds MB this way -- takes some times, but works nice ^^ )
Tabii ki, ile, döküm dosyası zaten sunucuda olması gerekir - muhtemelen FTP ile yükleyebilirsiniz?
If you don't have a command-line access to your server, maybe running that command via a PHP script, using the system
function, would be possible ?
If neither those ideas work... Well, I'm guessing you will have to split your file by hand, to import small chunks ; using files between 1MB and 2MB should work fine, considering the default configuration options that are often used for PHP...