使用datagrip 连接Oracle, sid的方式连接,连接字符串写的是对的,但是datagrip一直报错。
如图:
datagrip配置驱动截图:
SID 定义格式:jdbc:oracle:{driver:variants:thin:Thin=thin,OCI=oci,OCI8=oci8}:[{user}[/{password}]]@{host::localhost}?[:{port::1521}]:{SID:identifier:XE}连接配置截图:
不管我换什么方式去连接, 都会提示我格式不对。
datagrip版本 DataGrip 2018.2.2
Build #DB-182.4129.19, built on August 15, 2018
Licensed to lan yu
Subscription is active until May 5, 2019
JRE: 1.8.0_152-release-1248-b8 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0
Oracle 版本:11G