Importing and Exporting Data in MySQL
Exporting Data in MySQL
The MySQL terminal provides a simple way to export data in SQL format using the following command:
mysqldump -u [username] -p [database name] > [file name].sql
For example, to export the database katra using the username app_...
mdusama.hashnode.dev1 min read