1.DB,DBMS,SQL 1.DB (Database): A warehouse that stores and manages data and saves a series of organized data 2. Characteristics of the database 1. Persistent storage data 3. SQL Classification 1. 4. Two ways to start and shut down mysql 1. Start MySQL by finding it in the service interface in Computer Management 5.MySQL login method () 1.MySQL comes with a client (use exit to exit) 6. SQL Language Specification 1. Commands are not case sensitive 7. Navicat commonly used shortcut keys 1. 8. Database backup and restoreBackup statement:
Now we can look at our database and open the student table in the student database: Let's first back up the student database to the a.sql file in drive D: Note: Since mysqldump is a file in the bin directory, you need to go to your MySQL bin directory first if you want to use it. Then your D drive will have a.sql file: Then we delete and restore the student database: Note: If we want to restore after deletion, we need to create a new student database, and then import the contents of the file into the database. When we import, please note that we must first enter this database Import the file into the database: source + file location When I checked again, the file had been imported successfully. The above is the detailed content of the detailed explanation of database backup in MySQL learning. For more information about MySQL database backup, please pay attention to other related articles on 123WORDPRESS.COM! You may also be interested in:
|
<<: How to configure the Runner container in Docker
>>: Essential Handbook for Web Design 216 Web Safe Colors
This time, we will try to package the running con...
It has been a long time since the birth of vue3, ...
Introduction to jsvc In production, Tomcat should...
Preface Recently, I accidentally discovered MySQL...
Table of contents 1. The magical extension operat...
1. Introduction to VMware vSphere VMware vSphere ...
01. Overview Absolute paths and relative paths ar...
Table of contents 1. MySQL join buffer 2. JoinBuf...
In the database, both UNION and UNION ALL keyword...
Table of contents Preface 🍹Preparation 🍲vue3 usag...
Recently, we have been capturing SQL online for o...
This article is mainly for those who do not under...
1. Introduction This article describes how to use...
During the project, I started using the js reques...
This article describes how to use docker to deplo...