DataGrip离线安装、jdbc驱动、激活(最简单方式)
环境:有外网的机器称为Host_A,无外网的内网机器称为Host_B,两者都是windows2019。本地是MacOS。
目的:在Host_B安装DataGrip并激活。
操作步骤如下:
一、下载DataGrip
下载windows安装包:
官网:Download DataGrip: Cross-Platform IDE for Databases & SQL
二、copy到Host_B
1、本机macOS,这里使用Microsoft Remote Desktop。

2、和本地目录共享,拷贝安装包到内网机器。

3、点击上图Save并双击连接

三、连接到Host_B
1、查看到共享目录

2、cpoy到Host_B本地并安装
四、jdbc驱动添加、DataGrip的激活
这里连接mysql,DataGrip使用的是jdbc驱动,内网环境无法安装,这里采用离线方式。
1、使用DataGrip授权账号在Host_A登录。
2、在Host_A的目录C:UsersAdministratorAppDataRoamingJetBrains,压缩并copy到Host_B。
3、在Host_B备份C:UsersAdministratorAppDataRoamingJetBrains目录,复制到此目录并解压。
4、重启DataGrip,即可正常连接。
