当前位置:网站首页>【MySQL 14】使用DBeaver工具远程备份及恢复MySQL数据库(Linux 环境)
【MySQL 14】使用DBeaver工具远程备份及恢复MySQL数据库(Linux 环境)
2022-07-03 07:26:00 【Rusty well began】
1、下载MySQL备份组件
dbeaver提供了多种数据源的支持,除了关系型数据库外,还支持大量的NoSQL、NewSQL等分布式数据库系统及大数据库组件的支持。
<1> 下载MySQL组件的原因:
因为我们的MySQL是安装在Docker中,本地只有DBeaver,而Dbeaver只是一个壳而已,故DBeaver导入导出数据需要MySQL Client的支持,若本地装有MySQL,只需要找到MySQL安装包bin下面的几个.exe执行文件。
<2> 如果不下载MySQL组件就会出现以下错误:
<3> MySQL官网下载:
https://downloads.mysql.com/archives/community/

需要的是安装包bin目录下的mysqldump.exe,mysqlimport.exe

2、配置DBeaver工具
- 打开编辑链接界面

- 选择注意界面->本地客户端->浏览

- 添加数据库地址,将下好的MySQL 8.0 包路径添加进来

- 之后在本地客户端中选择刚刚添加的路径

- 点击确定,重新连接

3、开始备份MySQL数据库
- 选中需要备份的数据库,选择工具->转储数据库

- 选择对应的数据库和相应要导出的表结构

- 选择备份文件路径,点击开始按钮开始备份数据库

- 等待备份完成

4、恢复MySQL数据库
- 新建MySQl数据库

- 选择工具->恢复数据库

- 选择保存的MySQL数据库备份路径,点击开始导入数据库


- 完成MySQL数据库恢复


边栏推荐
- 带你全流程,全方位的了解属于测试的软件事故
- Spa single page application
- [coppeliasim4.3] C calls UR5 in the remoteapi control scenario
- Leetcode 198: 打家劫舍
- [cmake] cmake link SQLite Library
- FileInputStream and fileoutputstream
- IPv4 address
- Reconnaissance et détection d'images - Notes
- The underlying mechanism of advertising on websites
- Summary of Arduino serial functions related to print read
猜你喜欢

VMWare网络模式-桥接,Host-Only,NAT网络

Common methods of file class

Traversal in Lucene

Leetcode 198: house raiding

How long is the fastest time you can develop data API? One minute is enough for me

Docker builds MySQL: the specified path of version 5.7 cannot be mounted.

Es writing fragment process

Spa single page application

FileInputStream and fileoutputstream

Epoll related references
随机推荐
IP home online query platform
The difference between typescript let and VaR
Lombok cooperates with @slf4j and logback to realize logging
Circuit, packet and message exchange
List exercises after class
【CoppeliaSim4.3】C#调用 remoteApi控制场景中UR5
Vertx multi vertical shared data
Various postures of CS without online line
Take you through the whole process and comprehensively understand the software accidents that belong to testing
Sent by mqtt client server of vertx
技术干货 | AlphaFold/ RoseTTAFold开源复现(2)—AlphaFold流程分析和训练构建
Leetcode 213: looting II
【MindSpore论文精讲】AAAI长尾问题中训练技巧的总结
Web router of vertx
《指环王:力量之戒》新剧照 力量之戒铸造者亮相
Chapter VI - Containers
VMware virtual machine installation
专题 | 同步 异步
Leetcode 198: house raiding
Industrial resilience