SQuirreL SQL
You can use SQuirreL SQL to interface with HeavyDB.
SQuirreL SQL client is a graphical Java program for performing common tasks such as viewing the structure of a JDBC-compliant database, browsing data in tables, and issuing SQL commands.
For more information about SQuirreL SQL, see http://squirrel-sql.sourceforge.net.
Installing SQuirreL SQL
-
Download the HEAVY.AIU JDBC driver in
$HEAVYAI_PATH/bin/heavyaijdbc-<major_version>.<minor_version>.<revision>.jar. -
Verify that Java is installed on your client:
- On Windows, go to Control Panel > Programs > Programs and Features.
-or-
- On OSX, go to System Preferences > Java and click About….
-
Download the version of SQuirreL SQL for your platform from http://squirrel-sql.sourceforge.net.
-
Follow the instructions on the SQuirreL SQL website to install SQuirreL SQL.
Configuring SQuirreL SQL for the HEAVY.AI JDBC Driver
Configure the HEAVY.AI Driver
-
Open SQuirreL SQL.
-
Click Drivers.
-
Click + to add a new driver.
-
Enter the Name for your driver. The name is an alias within SQuirreL for this driver.
-
Enter the Example URL. For HEAVY.AI, the required components are “jdbc”, “omnisci”, a valid DNS name for a machine running HEAVY.AI, the HEAVY.AI port number, and the name of the HEAVY.AI database. For example,
jdbc:heavyai:machine:9091:dbname. If you are not sure of these values, contact your system administrator. -
Enter the Website URL.
-
Enter the Class Name:
com.heavyai.jdbc.HeavyaiDriver. -
Click the Extra Class Path tab.
-
Click Add and navigate to the directory where
heavyaijdbc-<major_version>.<minor_version>.<revision>.jaris located.
-
Click Open.
-
Click OK.
Configure the HEAVY.AI Alias
- Click Aliases.
- Click + to add a new Alias.
- Give the Alias a Name.
- Choose HEAVY.AI as the Driver.
- Update the example URL with the specific URL for your HEAVY.AI instance.
- Enter your User Name and Password.
- (Optional) Set Auto Logon.
- (Optional) Set Connect at Startup.
- Click Test to verify the connection.
- Click OK.