1. Click "Database" and select "Driver Manager"
2. Select "New"
3. Set up the driver
Driver name: custom named "DM" here
Class name: dm.jdbc.driver.DmDriver
URL template: jdbc:dm://{host}:{port} or jdbc:dm://{host}[:{port}]/[{database}]
Default port: 5236
Fill in the result as follows:
Select "Library" to set the driver jar package (here the jdbc driver jar of Dameng database is in the installation directory)
After confirmation, the custom database DM will appear in the driver manager list
4. Connect to the database
Select New Connection, select all databases, and select the one just added in the list
Here, if the URL template filled in is jdbc:dm://{host}:{port}, the connection settings are as follows:
If the URL template is: jdbc:dm://{host}[:{port}]/[{database}], then the connection settings are as follows:
After filling in the database connection information, click "Test Connection"
The connection is successful, and the database information is displayed as follows