Reputation: 1
I am trying to import database through PHPMyAdmin. My database file is abc.sql and it's size is 50.9 MB. I am trying this on local and it's saying:
You probably tried to upload a file that is too large. Please refer to documentation for ways to workaround this limit.
Please Help with this.
Upvotes: 0
Views: 117
Reputation: 6560
Just use mysql CLI -
1) Command Prompt
2) mysql -uusername -p
(enter password when prompted)
3) use database_name
4) source C:\path\to\file.sql
Upvotes: 1
Reputation: 322
You can update the maximum upload size from php.ini file.
In the php.ini you need to update the 3 values as per your requirement
Then restart your apache server. You will able to import the database.
Upvotes: 2