Helical Insight an Open Source Business Intelligence (BI) tool which supports Cloud SQL – Google Cloud Platform. In this article we will cover in detail, how you can connect, analyze, share and use other features from Cloud SQL using Helical Insight Business Intelligence Tool.
Prerequisites :
- SQL instance on Google Cloud Platform
Following are the steps to create report with Helical Insight using Google Cloud SQL:
- Datasource Creation
- Metadata Creation
- Adhoc Reports
Create Datasource
This process invloves establishing a connection between Helical Insight application and a Source Databases.
There are 2 methods available for creating a Datasource in Helical Insight:
- Front End Approach
- Back End Approach
Following are the steps shown below to create datasource using available methods :
Method 1 : Front End Approach
-
- Now, Login to Helical Insight Application. ( For default credentials, click here )
- Click on “Home” button and select “Adhoc” from the list.
- On entering Adhoc Page, click on “Create” button in Datasources.
-
- Select the “DataSource Type” from the given list. In this case, “Managed Datasource” will be used.
- Now, enter the following details :
Datesource Name : GoogleMySQLCloud ( any name can be assigned )
Driver : com.mysql.jdbc.Driver
HostName : 192.168.5.10 ( can vary )
Port : 3306
Database Name : SampleDB
URL : jdbc:mysql://192.168.5.10:3306/SampleDB
-
- Now, enter database username and password
- Click on “Test Connnection” to validate the connectivity.
- Now, click on “Save Datasource“.
-
- From the same page, click on “Metadata” ( at the top right )
- Then, click on “Create”.
Further steps will be covered in “Create Metadata” step.
Method 2 : Back End Approach
-
- Go to “hi-repository” folder where a Helical Insight Application is installed and then open the folder.
C:\Helical Insight\hi-repository
-
- Create a New Folder with any name say “Google Cloud SQL” inside “hi-repository” folder.
-
- Now, open a text-editor like notepad, notepad++ , and so on.
- Then enter the following details as given below :
<EFWD>
<DataSources>
<Connection id="1" name="Google Cloud SQL EFWD" type="sql.jdbc">
<Driver>com.mysql.jdbc.Driver</Driver>
<Url>jdbc:mysql://192.168.5.10:3306/Sampledb</Url>
<User>testuser</User>
<Pass>testuser</Pass>
</Connection>
</DataSources>
</EFWD>
-
-
- Connection ID : User can assign any ID (numeric only)
- name : Name of the Datasource to be shown in the Datasource list
- Url : For creating a URL, use the following MySQL JDBC URL format
-
jdbc:mysql://ip_address/database-name
-
-
- User: Database Username
- Password: Database password
-
- After entering the details, save the file as “filename.efwd”
Note: Saved file has to be present inside the “Google Cloud SQL” folder of “hi-repository“.
- Now, the Google Cloud SQL connection has been established. ( if entered details are correct )
- Then, next step involves creation of metadata.
- Now, login to Helical Insight Application using any web browser.
- Click on “Home” button and select “Adhoc” from the list.
- Then, Click on “Metadata” Tab and then select “Create”.
Further steps will be covered in “Create Metadata” step.
Create Metadata
For creating a metadata it is mandatory to have established datasource connection which is explained in create datasource.
-
- On clicking “Create” from “Metadata” tab, “Datasource Type” selection page is displayed.
-
- Select the “DataSource Type” from the given list.
- For Method 1 : Select DataSource Type: Managed Datasource
- For Method 2 : Select DataSource Type: Plain JDBC Datasource
- Select the “DataSource Type” from the given list.
-
- Click on the Datasource Name> using which metadata will be created.
- For Method 1 : Datasource Name “GoogleMySQLCloud” is used. Any name can be assigned during configuration.
- Click on the Datasource Name> using which metadata will be created.
-
-
- For Method 2 : Datasource Name “Google Cloud SQL EFWD” is used. Any name can be assigned during configuration.
-
- Now , a metadata page appears where various operations can be performed such as table/column aliasing, defining joins, creating views and apply table/column/data security conditions.
- Click on “Save” to create metadata.
- After clicking “Save” button, a window will appear known as “File Browser”. Using File Browser, a metadata file is saved in the file-repository of Helical Insight.
- Then, click on “Save Metadata” to confirm.
- Now, metadata file is ready for creating Adhoc Reports.
Adhoc Reports :
Learn how to create Adhoc Report, click here
For further assistance, kindly contact us on support@helicalinsight.com or post your queries at forum.helicalinsight.com