参考链接
Directories used by the IDE | DataGrip Documentation
注:修改配置之后,可能会需要重新下载驱动,并且需要重新激活 DataGrip
最好保险一点,sql 文件能备份的就备份
1)点击 help -> Edit Custom Properties
2)配置
# 例如,其中 console 的sql文件就存放在 idea.config.path 中配置路径下的 \consoles\db
idea.config.path=E:/workspeak/databases/dataGrip/cache/config
idea.plugins.path=E:/workspeak/databases/dataGrip/cache/plugins
idea.log.path=E:/workspeak/databases/dataGrip/cache/log
3)重启 DataGrip