MySQL backup database

后端 未结 8 1623
情深已故
情深已故 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:34

    Open up a Windows command prompt.

    Click Start -> Run
    Enter “cmd” into the dialog box and click the “OK” button.
    

    Change the directory to the following to access the mysqldump utility.

    cd C:\Program Files\MySQL\MySQL Server 5.5\bin
    

    Create a dump of your current mysql database or table (do not include the bracket symbols [ ] in your commands).

    Run the mysqldump.exe program using the following arguments:

    mysqldump.exe –e –u[username] -p[password] -h[hostname] [database name] > C:\[filename].sql
    

提交回复
热议问题