How to back up mysql database?

青灯夜游
Release: 2022-01-12 15:06:00
Original
49840 people have browsed it

How to back up mysql database? You can use the mysqldump command to back up the database. This article will introduce it to you. I hope it will be helpful to you.

How to back up mysql database?

You can use the mysqldump command to back up the database

1. Open the start menu, search for cmd in the search box below, and open the cmd command Line

How to back up mysql database?

155840757158245How to back up mysql database?

2. Enter the command to back up the database

The format is:

mysqldump -u[用户名] -p[密码] 数据库名称 > 文件
Copy after login

Example:

mysqldump -uroot -p123456 test>e:/mysqltest/test.dump
Copy after login

How to back up mysql database?

The backup file was saved successfully, as shown in the figure below

How to back up mysql database?

Related learning recommendations:mysql video tutorial

The above is the detailed content of How to back up mysql database?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!