Import of database from terminal Navigate to the project folder and open terminal Run the command mysql -u username -p databasename < database.sql