![]() ![]() See the "Data Model" chapter for table-specific information. See the "Supported SQL" chapter in the help documentation for more information on the supported SQL. Select the Database Connection, Database, and Schema from the available menus. To execute SQL queries, use the SQL Commander tool: Click SQL Commander -> New SQL Commander. To browse through tables exposed by the Cassandra JDBC Driver, right-click a table and click Open in New Tab. Database Password: The password to use to authenticate to Cassandra.Database UserId: The username to use to authenticate to Cassandra. DbVisualizer has a built-in driver manager where you connect to Cassandra from the list of available databases, enter the credentials and DbVisualizer.Jdbc:cassandra:Database=M圜assandraDB Port=7000 Server=127.0.0.1 This will limit the number of rows returned, which is especially helpful for improving performance when designing reports and visualizations. When you configure the JDBC URL, you may also want to set the Max Rows connection property. Either double-click the JAR file or execute the jar file from the command-line.įill in the connection properties and copy the connection string to the clipboard. Additionally, to use internal authentication set the User and Password connection properties.įor assistance in constructing the JDBC URL, use the connection string designer built into the Cassandra JDBC Driver. Set the Server, Port, and Database connection properties to connect to Cassandra. The syntax of the JDBC URL is jdbc:cassandra: followed by the connection properties in a semicolon-separated list of name-value pairs. Driver: Select the driver you just created.ĭatabase URL: Enter the full JDBC URL.If you selected the "No Wizard" option, select the Generic or Auto Detect option in the Database Type menu. Database Type: If you selected the wizard option, the database type is automatically detected.In the Connection section, set the following options: In the Database tab, right-click the Database Connection node and click Create a Database Connection.In the Driver Class menu, select the CassandraDriver class, .ĭefine the Connection to the JDBC Data Sourceįollow the steps below to save connection properties in the JDBC URL.If needed, change the "Max Rows" from the default 1000 rows to a higher number if you need to return more than 1000 rows.In the User Specified tab, click the Open File button and select the file, located in the lib subfolder of the installation directory. ![]() Enter your query and choose "SQL Commander" > "Execute (Ctrl+Enter)" to execute your query.Select the "Database Connection", "Database", and "Schema" as needed.Select "SQL Commander" > "New SQL Commander".How to execute a query using the new custom JDBC driver connection: Enter the "Database URL" like the full connection string populated with actual values.Select your new driver from the dropdown.Enter an alias for your connection and click "Next".An Object View tab for the new connection is opened, Enter a name for the connection in the Name field, and optionally enter a description of the connection in the Notes field, Select an installed JDBC driver. Select "Database" > "Create Database Connection" to launch the "New Connection Wizard". Create a new connection from Database->Create Database Connection and click No Wizard when prompted.How to create a connection to your server using the new custom JDBC driver connection: Your new driver will look something like the attached screenshot (Filename: DbVisualizer_Custom_JDBC_Driver_Configuration.png). In the "Driver Class" dropdown, select the driver class associated with your JDBC driver.In the folder selection dialog, point it to the the JDBC driver.In the "Driver File Paths" select "User Specified" tab and click on the folder icon.Enter "URL Format": This is the connection URL from the Spotfire data source template.Download and install the DbVisualizer tool.How to configure DbVisualizer to use a custom JDBC driver. This article describes how to configure DbVisualizer to use a custom JDBC driver. jar file that is not included in DbVisualizer. DbVisualizer has many JDBC drivers installed by default, but often you will either need to test with a specific. You can test connections with any 3rd party tool, but this article uses DbVisualizer version 9.2.3. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |