![]() ![]() Trace token for correlating requests across systems. Example: localhost:8888Ĭlient tags for selecting resource groups. Session username override, used for impersonation. Username to use for authentication and authorization. While others are specified using properties. These methods may be mixed some parameters may be specified in the URL, ![]() getConnection ( url, properties ) // URL parameters String url = "jdbc:trino://:8443/hive/sales?user=test&password=secret&SSL=true" Connection connection = DriverManager. setProperty ( "SSL", "true" ) Connection connection = DriverManager. setProperty ( "password", "secret" ) properties. setProperty ( "user", "test" ) properties. properties String url = "jdbc:trino://:8080/hive/sales" Properties properties = new Properties () properties. The following JDBC URL formats are supported: When your driver is loaded, registered and configured, you are ready to connect Once registered, you must also configure the connection information as described Please check your application’s documentation. In a UI or on the command line depend upon the specific application you are ![]() GUI-based SQL editors, read this section. If your application does not, such as is the case for some Registering and configuring the driver #ĭrivers are commonly loaded automatically by applications once they are added to May need to manually register and configure the driver. Of users on systems where they will access Trino.Īfter you have downloaded the JDBC driver and added it to yourĬlasspath, you’ll typically need to restart your application in order to Once downloaded, you must add the JAR file to a directory in the classpath To download, where xxx is the version number. Navigate to theĭirectory for the desired version, and select the trino-jdbc-xxx.jar file A list of allĪvailable versions can be found in the Maven Central Repository. We recommend using the latest version of the JDBC driver. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |