Databases are easy to import through phpMyAdmin, but this interface has limitations. It doesn’t deal well with large files, since a timeout cancels whatever is ongoing. For larger files, it’s better to go through command line. Here are the steps to get it done: