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
Table of contents 1. props 2..sync 3.v-model 4.re...
Congratulations on finally convincing your bosses...
Some attributes about elements In the daily devel...
1. Background As the project's business conti...
1. Use floating method Effect picture: The code i...
Variables defined in SASS, the value set later wi...
Q1: What indexes does the database have? What are...
When it comes to databases, one of the most frequ...
Frequently asked questions Access denied for user...
CentOS6.9 installs Mysql5.7 for your reference, t...
1. Environmental Preparation CentOS Linux release...
This article example shares the specific code for...
Hello everyone, today I will share with you the i...
Table of contents 1. Location / Matching 2. Locat...
It’s National Day, and everyone is eager to celeb...