Connecting Using the Driver Manager
- Last Updated: May 13, 2025
- 1 minute read
- DataDirect Connectors
- JDBC
- Cloudera Impala 5.1
- Documentation
One way to connect to an Impala database is through the JDBC DriverManager
using the DriverManager.getConnection() method. As the
following example shows, this method specifies a string containing a connection URL.
Connection conn = DriverManager.getConnection
("jdbc:datadirect:impala://Server3:21050;
DatabaseName=Test;User=admin;Password=adminpass");