Import a database from the command line

Jul 30, 2013

Sometimes you need to import a large database that exceeds the size limits imposed by phpMyAdmin. You can change some settings in your php.ini file to allow that, or you can just do it real quick from the command line. Here’s how: