This topic explains how to work with the DBeaver plugin to create and manage databases in Zend Studio. DBeaver supports any database which has JDBC driver, and may handle any external data source which may or may not have a JDBC driver.
Please recommend good Sybase database table viewer application (for windows 7) to connect to a sybase server on a Linux box? Sybase, DB2, H2, Hypersonic SQL, Amazon Redshift, Apache Derby: Java: DBeaver: Serge Rider 2020-08-31 7.2.0 Apache License: Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes MySQL, PostgreSQL, Oracle, EXASOL, IBM DB2, SQL Server, Apache Derby, Firebird all with JDBC driver Java: DBEdit: Jef Van Den Ouweland 2012-05-10 2.4.6 GPL: Yes Yes Yes Yes Yes Yes.
Prerequisistes
- Download and install DBeaver from http://dbeaver.jkiss.org/download/#eclipse
Connecting to a Database
This procedure explains how to establish a connection to a database using DBeaver.
To connect to a database :
Note: Under the Advanced tab, you can configure advanced connections settings, e.g., Character Coding.
|
Managing Connection Drivers
Dbeaver Sybase Setup
A database driver is a third-party library which provides the ability to work with specific database engines. The driver manager dialog allows you to create, delete and edit driver descriptions.
To manage your connection drivers:
Note: For a full breakdown of the available driver editing options, in the Menu bar, go to Help | Help Contents | DBeaver Help | Manage Connections | Driver editor dialog.
|
Working with your Database
Once you have established your connection, you can now begin to work with the data in your database using DBeaver.
Running SQL Queries and Scripts
This procedure will explain how to run SQL queries or scripts in your database using DBeaver.
To run SQL queries or scripts using DBeaver:
|
Note:
Dbeaver Sybase Iq
For more information on working with data and metadata using DBeaver, select Help | Help Contents | DBeaver Help | Work with data from the menu-bar.
Setting Active Database
Instead of manually running a 'use database' query with a database prefix for each SQL script or query you wish to run, you can define a database as being 'active' to directly run SQL scripts and queries.
To set a database as active:
|
Copyright © 2017Rogue Wave Software
You can find installation instructions here
You can find the latest drivers on the Cloudera website
mkdir ~/.dbeaver-drivers/cloudera-hive/
- Navigate to
Database > Driver Manager > New
- Add all the files from
~/.dbeaver-drivers/cloudera-hive/
- Driver name:
Hive-Cloudera
(for labeling only) - Class name:
com.cloudera.hive.jdbc41.HS2Driver
(at the time of this writing) - Default port:
10000
- URL template:
jdbc:hive2://{host}:{port}/{database};AuthMech=1;KrbRealm=FOO.BAR;KrbHostFQDN={server}; KrbServiceName=hive;KrbAuthType=2
- Note you need to change
FOO.BAR
to match your krb5.conf settings
- Note you need to change
- In the menu bar Navigate to
Database > New Connection
- Select Hive-Cloudera
- Fill in the appropriate values for host & database (I set database to default)
- Set server to be your KrbHostFQDN
- Leave your user name & password blank
- Test connection
- Press next, next, & change the name of this connection as you see fit
- Press finish
Congrats you’ve successfully connected to hive using kerberos authentication!
If you are receiving [Cloudera][HiveJDBCDriver](500168) Error creating login context using ticket cache: Unable to obtain Principal Name for authentication
make sure to check the following
Dbeaver Sybase Ase
Dbeaver Sybase High Availability
- Ensure that you have the latest cryptography libraries installed
- Java 9 includes these libraries by default
- That you’ve configured your
/etc/krb5.conf
successfully- If you’ve done this correctly you should be able to run
kinit
in terminal and create a ticket without issue
- If you’ve done this correctly you should be able to run
For Windows adding the following lines to your dbeaver.ini may be necessary as well
-Djava.security.krb5.conf=c:kerberoskrb5.ini
- note: this is the windows equivalent of
/etc/krb5.conf
- note: this is the windows equivalent of
-Djava.security.auth.login.config=c:kerberosjaas.conf
success has also been reported with the following jaas.conf file & keytab usage