How to export database through terminal

Navigate to the project path

Run the command

mysqldump -u YourUser -p YourDatabaseName > wantedsqlfile.sql

Leave a comment

Your email address will not be published. Required fields are marked *