Question

Error in importing mysql file using command line

Connected Tutorial
This question is a follow-up to this tutorial:

Thank you for these useful commands I try to import a large SQL file but I have this error

<b>Fatal error</b>:  Maximum execution time of 300 seconds exceeded in <b>C:inNMPWW

I tried to increase max_execution_time in php.ini but the error did not fixed.

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Accepted Answer

mysql -u root -p xxxx_db < xxx_db_file.sql