how to import db in terminal code example Example: import file mysql terminal mysql -u<username> -p<password> databaseName < /path/fileName.sql