当前位置:网站首页>DataGrip 如何导出和恢复整个数据库数据,使用单个 SQL 文件
DataGrip 如何导出和恢复整个数据库数据,使用单个 SQL 文件
2022-07-29 02:19:00 【十月ooOO】
DataGrip 如何导出和恢复整个数据库数据,使用单个 SQL 文件
之前一直用 Navicat 来处理数据库数据,整个导出导入等,用习惯了之后,再用 DataGrip 总找不到对应操作的地方。比如数据库的整个导入导出,我就找了半天才找到。
一、导出 mysqldump
1. 找到要导出的数据库
右击,选择 export with 'mysqldump'
2.找到系统中已安装的数据库目录,并选择 mysqldump.exe
文件
在弹出的窗口中, Path to mysqldump
需要你自己定位选择系统中的
3.导出成功
能看到上图截图中的导出文件名为 {data_source}-{timestamp}-dump.sql
导出成功后的文件名例子为:diary_kylebing_cn-2022_07_28_11_09_15-dump.sql
点击 Run 之后
导出成功
4.最终导出的文件内容如下
二、从 SQL 文件恢复
官方说明
1. 选择 Restore from ‘mysql’
右击你要恢复数据到的数据库,然后选择菜单中的 Restore from 'mysql'
2. 选择对应的 mysql 文件
在弹出的窗口中定位到要使用的 mysql.exe 文件,要用这个文件来恢复数据库内容
选择要恢复的 sql 文件,确定即可
然后就成功了
边栏推荐
- New conch movie theme template m3.1 fully decrypted version multifunctional apple cmsv10 background adaptive theme open source fully decrypted version
- Multimodal Unsupervised Image-to-Image Translation多通道无监督图像翻译
- nacos名字的由来
- 童年的快乐时光
- Production scheme and advantages of online 3D digital exhibition hall
- [error reporting] node:internal/modules/cjs/loader:936 [solution]
- Three expiration strategies
- QT screen adaptive automatic layout, drag the window to automatically grow larger and smaller (I)
- 第八天笔记
- Source code of Jiugongge heart puzzle Applet / source code of main wechat applet with traffic
猜你喜欢
QT屏幕自适应自动布局,拖动窗口自动变大变小(一)
Production scheme and advantages of online 3D digital exhibition hall
New conch movie theme template m3.1 fully decrypted version multifunctional apple cmsv10 background adaptive theme open source fully decrypted version
(作业)C语言:atoi和strncpy、strncat、strncmp的模拟实现
Workflow of wireless vibrating wire acquisition system
Ffmpeg+sdl+qt is a simple video player
3D intelligent factory process flow visualization interactive display application advantages
图书管理系统
[error reporting] node:internal/modules/cjs/loader:936 [solution]
这个博主,qt归类比较全,有空去学习总结,记录一下。
随机推荐
这个博主,qt归类比较全,有空去学习总结,记录一下。
K210——声源定位、声音识别
Flink生产环境经典问题汇总
架构师进阶,微服务设计与治理的 16 条常用原则
Tesla neural network model hydranet
2022/07/28 learning notes (day18) common APIs
全新UI四方聚合支付系统源码/新增USDT提现/最新更新安全升级修复XSS漏洞补单漏洞
NVIDIA-VPI(Vision Programming Interface)
ECCV 2022 | AirDet:无需微调的小样本目标检测方法
Shell 脚本 快速入门 -01
Intel's IPP Library (Integrated Performance Primitives)
owt-server源码剖析(三)--video模块分析之Mixer In
Implement encapsulated public method global call in laravel framework
Quickly master nodejs installation and getting started
Redis主从模式、哨兵集群、分片集群
KBxxxxxx不一定是补丁,也可能是某个问题解决方案的描述
Multimodal Unsupervised Image-to-Image Translation多通道无监督图像翻译
C language to achieve the three chess game
Cuda-npp image and video processing
第十天笔记