MySQL backup database

后端 未结 8 1624
情深已故
情深已故 2021-01-06 23:56

I tried to backup the database from my mysql server.

I am using MYSQL 5.5.

I used the following Command to backup the database.

            $         


        
相关标签:
8条回答
  • 2021-01-07 00:42
    $ mysqldump -uroot -padmin project > project.sql
    
    0 讨论(0)
  • 2021-01-07 00:43

    Unable to comment on the answer by @Thanga so posting it separately.

    There should be a space between -u and root. Likewise for -p and admin. So the command would look like:

    mysqldump -u root -p admin project
    
    0 讨论(0)
提交回复
热议问题