当前位置:网站首页>Use DBeaver for mysql data backup and recovery
Use DBeaver for mysql data backup and recovery
2022-08-02 02:16:00 【m0_54850825】
Table of Contents
Second, how does Dbeaver backup and restore data
Three, import sql failure and solution
Foreword
In the process of project iteration and version upgrade, sometimes it involves changes to the database table structure. Therefore, database data backup and data recovery are problems that we often have to solve.This article will briefly introduce how to use DBeaver tool for database data backup and data recovery
I. What is Dbeaver?
DBeaver is a general-purpose database management tool and SQL client that supports MySQL, PostgreSQL, Oracle, DB2, MSSQL, Sybase, Mimer, HSQLDB, Derby, and other JDBC-compliant databases.DBeaver provides a graphical interface for viewing Database structure, execute SQL queries and scripts, browse and export data, process BLOB/CLOB data, modify database structure, etc.
Second, how Dbeaver backs up and restores data
1. Backup Mysql data
①Select the database or database table to be backed up, right-click
②Select "Tools-Dump database"
③Check the database and table to be exported
④After the export is complete, generate the exported sql file
2. Restore Mysql data
①Select the database or database table to be restored, right-click
②Select "Tools-Restore database"
③Select the sql file to be imported
④Imported successfully
Three, import sql failure and solution
1.ERROR at line 658: Unknown command '''.
After investigation, the error is caused by the encoding problem
Workaround:
Add command when importing: --default-character-set=utf8
Imported successfully
Summary
This article only briefly introduces how to use Dbeaver to quickly and easily backup and restore Mysql data.
Let me introduce myself first. The editor graduated from Shanghai Jiaotong University in 2013. I worked in a small company and went to big factories such as Huawei and OPPO. I joined Alibaba in 2018, until now.I know that most junior and intermediate java engineers want to upgrade their skills, they often need to explore their own growth or sign up to study, but for training institutions, the tuition fee is nearly 10,000 yuan, which is really stressful.Self-learning that is not systematic is very inefficient and lengthy, and it is easy to hit the ceiling and the technology stops.Therefore, I collected a "full set of learning materials for java development" for everyone. The original intention is also very simple. I hope to help friends who want to learn by themselves but don't know where to start, and at the same time reduce everyone's burden.Add the business card below to get a full set of learning materials
边栏推荐
- Safety (1)
- Redis Subscription and Redis Stream
- Analysis of volatile principle
- Outsourcing worked for three years, it was abolished...
- 十字光标太小怎么调节、CAD梦想画图算量技巧
- Redis 底层的数据结构
- The state status is displayed incorrectly after the openGauss switch
- 拼多多借力消博会推动国内农产品品牌升级 看齐国际精品农货
- 使用docker安装mysql
- BioVendor人俱乐部细胞蛋白(CC16)Elisa试剂盒研究领域
猜你喜欢
A good book for newcomers to the workplace
[Server data recovery] Data recovery case of server Raid5 array mdisk disk offline
Data transfer at the data link layer
密码学的基础:X.690和对应的BER CER DER编码
Entry name 'org/apache/commons/codec/language/bm/gen_approx_greeklatin.txt' collided
拼多多借力消博会推动国内农产品品牌升级 看齐国际精品农货
『网易实习』周记(一)
项目后台技术Express
AWR分析报告问题求助:SQL如何可以从哪几个方面优化?
Yunhe Enmo: Let the value of the commercial database era continue to prosper in the openGauss ecosystem
随机推荐
How to adjust the cross cursor too small, CAD dream drawing calculation skills
Fundamentals of Cryptography: X.690 and Corresponding BER CER DER Encodings
Hash collisions and consistent hashing
LeetCode刷题日记: 33、搜索旋转排序数组
C语言之插入字符简单练习
Handwriting a blogging platform ~ Day 3
From 2023 onwards, these regions will be able to obtain a certificate with a score lower than 45 in the soft examination.
TKU remembers a single-point QPS optimization (I wish ITEYE is finally back)
Speed up your programs with bitwise operations
2022 Henan Youth Training League Game (3)
Check if IP or port is blocked
2022-08-01 mysql/stoonedb慢SQL-Q18分析
MySQL - CRUD operations
Multi-Party Threshold Private Set Intersection with Sublinear Communication-2021: Interpretation
leetcode/字符串中的变位词-s1字符串的某个排列是s2的子串
『网易实习』周记(三)
Redis for distributed applications in Golang
MySQL优化策略
2022-08-01 mysql/stoonedb slow SQL-Q18 analysis
Ringtone 1161. Maximum In-Layer Elements and