简体   繁体   中英

how to import database in phpmyadmin if size is Large

in php.ini i tried to change like this but no use

post_max_size=1280M upload_max_filesize=1280M max_execution_time = 300

please give me a solution , my database size is 568MB

you can't import large database in phpmyadmin by just changing the php.ini

Use Bigdump to dump database

Use command line

mysql -u username -p password dbname < yourdatabase.sql

where yourdatabase.sql is your sql file.

Use Bigdump ( http://www.ozerov.de/bigdump/ ). On shared hostings you mostly don't have access to an SSH shell, so using bigdump, you can also do this without ssh access.

You can upload your file to the web server and use the UploadDir phpMyAdmin directive to make this file available.

See http://docs.phpmyadmin.net/en/latest/config.html?highlight=uploaddir#cfg_UploadDir

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM