Import SQL Database into MAMP by the command line

The file might be too big so you might have to import it by the command line.

You’ll be asked for the password. Most of the time with MAMP the user and pass are “root”.