当前位置:网站首页>Mysql database backup and recovery
Mysql database backup and recovery
2022-07-25 06:08:00 【yemuxiaweiliang】
mysql Database backup and recovery
Backup from remote database
mysqldump -h x.x.x.x -uroot -p password --default-character-set=utf8 --all-databases > D:\bak\test.sql
Restore to local
mysql -h localhost -u root -p123 --default-character-set=utf8 < D:\bak\test.sql
Remote login
mysql.exe -h x.x.x.x -uroot -p password
The problem record
If you use windows10 Of powershell Window backup and recovery may encounter various problems , For example, the Chinese characters in the backup file are garbled , Special conformity cannot be recognized during recovery . It is recommended to use dos Window operation .
边栏推荐
- For data security reasons, the Dutch Ministry of Education asked schools to suspend the use of Chrome browser
- Amazoncaptcha bypasses Amazon IP verification code with 95% success rate
- Cout format output common functions and flags summary
- R language uses wilcox.test function to perform Wilcox signed rank test to obtain confidence interval of population median (set conf.level parameter to specify confidence level and size of confidence
- 日期(DAY 76)
- R language data The table package performs aggregation transforms of data packets and calculates the grouping interquartile range (IQR) of dataframe data
- Unity animator animation and state machine
- R language obtains the data row where the nth maximum value of the specified data column is located in the data.table data
- leetcode/二进制加法
- VBS common built-in functions (2)
猜你喜欢

(2022牛客多校二)K-Link with Bracket Sequence I(动态规划)

Tutorial: encryption keys in cloud (using golang and CLI)

Mechanism and principle of multihead attention and masked attention

Why is it that all the games are pseudorandom and can't make true random?

In depth analysis: is the hottest business model in 2022 linked by 2+1 a legal model?

Data too long for column 'data' at row 1 and the garbled code caused by setting to longblob are solved. node-mysql

Xiaomi 12s UTRA Leica watermark generation online tool

(2022 Niuke multi School II) l-link with level editor I (dynamic planning)

Sword finger offer 54. the k-th node of the binary search tree

Data too long for column ‘data‘ at row 1以及设置成longblob造成的乱码解决。node-mysql
随机推荐
(2022牛客多校二)K-Link with Bracket Sequence I(动态规划)
NFT: how to improve rentable NFT (erc-4907)
R language uses data.table function to create data.table data (use: operator to create continuous numeric vector)
Leetcode/ number of 1 in the first n digit binary
Matlab drawing example: 5: Biaxial graph
Design of automatic machine dot drawing script based on C language
A little experience about von Mises distribution
【Unity3D】UGUI回调函数
Run length test of R language: use the runs.test function to perform run length test on binary sequence data (check whether the sequence is random)
Get URL of [url reference]? For the following parameters, there are two ways to get the value of the corresponding parameter name and convert the full quantity to the object structure
Evolution of coupon architecture under C2B mode
动态规划学习笔记
Analyzing the principle of DNS resolution in kubernetes cluster
sqlilabs less-28~less-8a
(Niuke multi School II) G-LINK with monotonic subsequence (construction question)
二叉搜索树(DAY 75)
Big talk · book sharing | Haas Internet of things device cloud integrated development framework
msys2常用配置
The macro definition of embedded C language development and the skills of finding the maximum value of two numbers
sqlilabs less-28~less-8a