0

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
2
  • What do you mean by power problem? Did the power supply die or are your resources used up? Commented Jul 29, 2014 at 10:49
  • yes "power supply die" Commented Jul 29, 2014 at 10:52

1 Answer 1

1

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
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.