简体   繁体   中英

How can I import a large mysql database with a FTP client?

I have a large mysql database with 30 million users.

I need to import it to a brand new server. I tried using PHPMyAdmin's import function, but it says the file is too big.

When I was searching for a way to bypass this, some people said to edit the php.ini file.

I was wondering how I can do this with an FTP client? Which files must I copy and paste to the new server to successfully get the database working on it?

phpMyAdmin's UploadDir feature was implemented to fix such a problem. Documentation at https://docs.phpmyadmin.net/en/latest/faq.html?highlight=uploaddir#i-cannot-upload-big-dump-files-memory-http-or-timeout-problems .

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