当前位置:网站首页>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
边栏推荐
- [Server data recovery] Data recovery case of server Raid5 array mdisk disk offline
- Scheduled tasks for distributed applications in Golang
- to-be-read list
- MySQL优化策略
- 2022-07-30 mysql8 executes slow SQL-Q17 analysis
- Moonbeam and Project integration of the Galaxy, bring brand-new user experience for the community
- AOF rewrite
- Golang分布式应用之Redis
- 用位运算为你的程序加速
- bool框架::PosInGrid (const简历:关键点kp, int &posX, int诗句)
猜你喜欢

Pinduoduo leverages the consumer expo to promote the upgrading of domestic agricultural products brands and keep pace with international high-quality agricultural products

oracle query scan full table and walk index

【Unity入门计划】2D Game Kit:初步了解2D游戏组成

Golang分布式应用之定时任务

Fly propeller power space future PIE - Engine Engine build earth science

Multi-Party Threshold Private Set Intersection with Sublinear Communication-2021:解读

openGauss切换后state状态显示不对

Outsourcing worked for three years, it was abolished...

Power button 1374. Generate each character string is an odd number

A good book for newcomers to the workplace
随机推荐
[LeetCode Daily Question] - 103. Zigzag Level Order Traversal of Binary Tree
LeetCode brush diary: LCP 03. Machine's adventure
Redis 底层的数据结构
LeetCode刷题日记:LCP 03.机器人大冒险
Force buckle, 752-open turntable lock
手写博客平台~第二天
考完PMP学什么?前方软考等着你~
使用DBeaver进行mysql数据备份与恢复
力扣、752-打开转盘锁
优炫数据库导库导错了能恢复吗?
【 wheeled odometer 】
Unable to log in to the Westward Journey
菜刀webshell特征分析
Software testing Interface automation testing Pytest framework encapsulates requests library Encapsulates unified request and multiple base path processing Interface association encapsulation Test cas
Centos7 install postgresql and enable remote access
手写一个博客平台~第三天
Fly propeller power space future PIE - Engine Engine build earth science
Speed up your programs with bitwise operations
leetcode / anagram in string - some permutation of s1 string is a substring of s2
个人博客系统项目测试