DataGrip connection database settings (MySQL, Oracle, SQL Server)

1. DataGrip connects to MySQL

1.1 Configuration information

insert image description here

1.2 Test and query the departments table information in the employees database

employees is the test library. For specific sources, refer to this article to download and import the MySQL sample database employees .
insert image description here

1.3 Test and query the employees table information in the employees database

insert image description here

2. DataGrip connects to Oracle

insert image description here
Change the SID to orcl:
insert image description here

3. DataGrip connects to SQL Server

3.1 Create a new Data Source-Microsoft SQL Server after opening DG

insert image description here
After downloading the driver file, configure it as shown in the figure:
insert image description here

insert image description here

3.2 Enable Named Pipes and TCP/IP protocol

insert image description here
insert image description here
insert image description here

3.3 Check whether the SQL Server service is running

insert image description here
It is recommended to restart the service if it fails to connect normally at first.
insert image description here
insert image description here

3.4 Test connection

insert image description here
You can check whether the system tables are the same in DataGrip and MSSMS:
insert image description here

Guess you like

Origin blog.csdn.net/qyfx123456/article/details/130047222