Reputation: 1130
I have sql file which size is 2.36GB, after importing 500 MB data, my system is shutdown due to power supply die, how can i continue after 500 MB data, is there any solution?
I used this command:-
mysql -uroot -p client_data < C:/Users/uradeshk/Desktop/client_data.sql
Upvotes: 0
Views: 724
Reputation: 7244
As far as i know, you have to restart. Since its a import of a sql file, you have to take the entire file.
Clear the table you inserted 500 MB into, unless it has DROP
, CREATE
statement in the file, then it will drop the table before it creates a new one.
TRUNCATE client_data;
mysql -uroot -p client_data < C:/Users/uradeshk/Desktop/client_data.sql
Upvotes: 1