Use DBeaver to connect to ordinary databases (non-mainstream databases, Dameng databases, etc., DBeaver's best database connection tool)

The DBeaver database connection tool is the best database connection tool I have used for so long. It has the advantages of supporting many databases, great shortcut keys, very convenient to import and export data, and easy to generate sql. Some databases also support Directly manipulate data without writing sql. In addition, the automatic script saving omits the trouble of frequently writing and repeating sql, and there are various prompts that can be used, as well as Chinese support. This tool is still open source, and it is a green tool that does not need to be installed after downloading. It can be said that with such a database connection tool, there is no need to install a bunch of other databases.

You can first look at the types of supported databases

There are too many supports, so I won't take screenshots one by one. This thing actually supports solr, which is awesome.

I recently received a new request, which needs to be connected to a domestic database Dameng database. The database connection tool provided by this database is a bit big. There are many things installed on the computer. I really don't want to install it again, and then study I went to DBeaver and found that this tool can easily connect to this non-mainstream database, click to create a new database

Select odbc and fill in the account password.

 

Then click Edit Driver Settings,

On the edit driver page, according to the driver provided by the service provider, click Add File, add the driver file, remember to add the class name, for example, the class name of Dameng is this

The tool will automatically find this class of the driver package, and then fill in the url template according to the given url template,

jdbc:dm://IP address:port/database to connect to

After filling in this information into the option of the url template, you are basically done.

After returning to this page, check whether the jdbc url is correct, and then you can test the connection. At this time, it is basically ok!

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326077471&siteId=291194637