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.

Submit an answer

This textbox defaults to using Markdown to format your answer.

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

Sign In or Sign Up to Answer

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

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.