DbSchema for Hive Database

DbSchema is a powerful database management and design tool for Hive. It offers features such as visual schema design, team collaboration with GIT, schema deployment and HTML schema documentation.

How to Connect to Hive Database

  1. Access the Connection Dialog

    Choose "Connect to the database" or "New Model Connected to the Database" will let you select your database and open the Connection Dialog.

    DbSchema automatically downloads the JDBC driver to connect to your database.

  2. Configure the Connection
  3. In the Connection Dialog window, select the JDBC URL you want to connect with. If your database is running in the cloud, choose Edit Manually and insert the JDBC URL from the cloud console.

    Enter the host name, the authentication details, select your database as described in the Connection Dialog page.

  4. Troubleshoot Firewall Issues
  5. If you encounter connection issues, it may be due to firewall settings. Read how to enable Firewall Connections.
Remember to enable Windows Firewalls Firewalls & anti-viruses may block database connections.

Connect to a Hive Server

DbSchema connects to Hive using the driver from https://github.com/timveil/hive-jdbc-uber-jar

Connect using Kerberos Authentication

You may connect to Hive using Kerberos authentication using the steps described in this article.

To set Java parameters like describe in the article edit the DbSchema.vmoptions file from the same folder as DbSchema.exe or ./DbSchema.app/Contents/vmoptions.txt on Mac OS:

-Dsun.security.krb5.debug=true
-Djavax.security.auth.useSubjectCredsOnly=false
-Djava.security.krb5.conf="[path-to-kerberos-file]/krb5.ini"