I need to import an database(sql file) which is about 120M is size, but in phpmyAdmin, it is not allowed to import more than 8 MB.
How to solve this?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
IIRC there is no limit in PHPMyAdmin nor is there in MySQL – the limit is on the POST size (webserver config) or the file upload size (php.ini). If you can’t change either of these, then you’ll need to upload the file by other means then ….
If you can’t upload files / have no shell access / have no CLI version of the mysql client avaialable, then the next thing to try is to see whether you can connect remotely using the mysql CLI client:
If this connects OK, then exit and run it again piping in the exported file
If that doesn’t work then you’ll need to either split the export file into multiple smaller chunks or write your own dataloader which trickles the data.
C.