database dump mysql command 1

database dump mysql command

mysqldump -u -p  > .sql

Here is what the above code is Doing:
1. mysqldump: This is the command that is used to export the database.
2. -u: This is the username that you use to log into MySQL.
3. -p: This is the password for the username.
4. : This is the name of the database that you want to export.
5. >: This is the output redirection operator.
6. .sql: This is the name of the file that you want to export the database to.

Similar Posts