For those using a Windows OS, I was able to import a large MySQL dump file into my local XAMPP installation using this following command in the command prompt.
C:\xampp\mysql\bin>mysql -u {DB_USER} -p {DB_NAME} < path/to/file/ab.sql
Want to become an expert in SQL? Join SQL Certification course fast !!
You can also watch the below MySQL video tutorial for much deeper understanding.