当前位置:网站首页>How does DataGrid export and recover the entire database data, using a single SQL file
How does DataGrid export and recover the entire database data, using a single SQL file
2022-07-29 03:18:00 【October oooo】
DataGrip How to export and restore the entire database data , Using a single SQL file
Always used before Navicat To process database data , The whole export and import , After getting used to it , Reuse DataGrip There is always no place for corresponding operation . For example, the entire import and export of the database , It took me a long time to find .
One 、 export mysqldump
1. Find the database to export
Right click , choice export with 'mysqldump'

2. Find the installed database directory in the system , And select mysqldump.exe file
In the pop-up window , Path to mysqldump You need to locate and select the 

3. Export succeeded
You can see that the exported file in the screenshot above is named {data_source}-{timestamp}-dump.sql
The example of file name after successful export is :diary_kylebing_cn-2022_07_28_11_09_15-dump.sql
Click on Run after

Export succeeded 
4. The contents of the final exported file are as follows

Two 、 from SQL File recovery
Official statement
1. choice Restore from ‘mysql’
Right click the database you want to restore data to , Then select... From the menu Restore from 'mysql'
2. Select corresponding mysql file
Navigate to the... You want to use in the pop-up window mysql.exe file , Use this file to recover the contents of the database

Choose what you want to restore sql file , Sure you can.

And then it succeeded
边栏推荐
- My approval function of conference OA project
- Introduction and advanced MySQL (XIV)
- What if MySQL forgets the password
- Practical guidance for interface automation testing (Part I): what preparations should be made for interface automation
- MySQL忘记密码怎么办
- C language programming | exchange binary odd and even bits (macro Implementation)
- MYSQL入门与进阶(十四)
- SAP 中国本地化内容汇总
- Principle knowledge is useful
- Calculation of array serial number of force deduction questions (daily question 7/28)
猜你喜欢

Flask creation process day05-06 creation project

Verilog's time system tasks - $time, $stime, $realtime

Ten thousand words detailed Google play online application standard package format AAB

Example analysis of while, repeat and loop loops in MySQL process control

C language programming | exchange binary odd and even bits (macro Implementation)

Alibaba Sentinel - workflow and principle analysis

Navicat new database

2022-07-28 第四小组 修身课 学习笔记(every day)

Self study notes on Apache file management -- mapping folders and configuring Apache virtual machines based on single IP and multi domain names

Unity game special effects
随机推荐
What is SOA (Service Oriented Architecture)?
Feedback function of conference OA
C陷阱与缺陷 第3章 语义“陷阱” 3.3 作为参数的数组声明
3D advanced renderer: artlandis studio 2021.2 Chinese version
Codeworks 5 questions per day (average 1500) - day 25
[freeswitch development practice] media bug obtains call voice flow
接口自动化测试实践指导(上):接口自动化需要做哪些准备工作
美联储再加息,75基点 鲍威尔“放鸽”,美股狂欢
Sanzi chess (player + computer)
shell脚本总结
2. Nodejs -- path (\dirname, \filname), URL URL, querystring module, mime module, various paths (relative paths), web page loading (interview questions *)
01-sdram: Code of initialization module
C traps and defects Chapter 3 semantic "traps" 3.4 avoid "couple method"
Alibaba Sentinel - workflow and principle analysis
Introduction and advanced MySQL (13)
正则表达绕过waf
增量实时灾备笔记
服务器运行管理制度
Introduction and advanced MySQL (XIV)
MySql的安装配置超详细教程与简单的建库建表方法