I want to import a sql file of approx 12 mb. But its causing problem while loading. Is there any way to upload it without splitting the sql file ?
I stumbled on an article and this worked best for me
Hard Drive » Applications » MAMP » bin » config.inc.php
$cfg[‘UploadDir’] – it’s going to look like this:$cfg['UploadDir'] = '';
$cfg['UploadDir'] = 'upload';
Then, within that phpmyadmin dir, create a new folder & name it upload.
Take that large .sql file that you’re trying to import, and put it in that new upload folder.
Now, the next time you go to import a database into phpMyAdmin, you’ll see a new dropdown field right below the standard browse area in your “File to Import” section.