Environment description: MySQL version 5.5.48 in Windows environment, only for teaching demonstration
- In order to make the teaching effect more intuitive, it is recommended to switch to the desktop first in the terminal window;
- Execute the mysql backup command (a small episode of CNOOC, which will be interpreted later). The interpretation of the
small episode:
Since the database has been operated in the Linux environment during the previous development process, I have developed the habit of adding ";" at the end, but forgot this The side is MySQL version 5.5.48. I'm joking here. Just be happy. Of course, remove the ";" from the end to solve the problem; the
rendering is as follows: I have reached my desktop, and the backup is complete;
- The next step is to link into the MySQL database, create a new database, and then exit MySQL
- For database recovery, you need to execute the following commands
- Enter the relevant mysql database in China and confirm that the data is restored successfully.
Remarks: This case is a teaching case demonstration and is not used as a professional technical guide. If it is helpful to you, please bookmark, like, and follow.