MySQL

Import data from Amazon RDS MySQL

If you have your data stored in Amazon RDS MySQL Cloud Database, then you can easily import your data into Zoho Analytics for reporting & analysis. Zoho Analytics allows you to either import the data into Zoho Analytics or connect directly with the Amazon RDS MySQL server.

  • Data Import: Data in Amazon RDS MySQL will be imported and stored in Zoho Analytics. You can setup periodic schedules to fetch the latest data automatically from your Amazon RDS MySQL database. Report loading time will be faster as the data is stored in Zoho Analytics.
  • Live Connect: In this mode, data will not be fetched from Amazon RDS MySQL and stored in Zoho Analytics. Instead for the reports that you create Zoho Analytics will generate appropriate queries that will connect the required data live from Amazon RDS MySQL to Zoho Analytics and show you the report. In this case the loading time will directly depend on the performance of Amazon RDS MySQL.

Please note that the Live Connect option is exclusively available for Standard, Premium, and Enterprise plans only. Refer to the Live Connect section to learn. 

Data Import

  1. Preamble: Why should I whitelist Zoho Analytics IP address and how do I do it?
  2. How do I import data from the Amazon RDS MySQL database?
  3. How can I edit the setup?
  4. How long does it take for the data to be imported into Zoho Analytics?
  5. Can I import data from Views created in Amazon RDS MySQL (apart from Tables) into Zoho Analytics?
  6. Will foreign keys defined between my tables in the Amazon RDS MySQL database be linked in Zoho Analytics as well?
  7. Can I change the data-type of the columns in Zoho Analytics?
  8. I have synced data from a database into a table. Can I change the data source of this table?
  9. I have connected to a database and imported a few tables into Zoho Analytics. Can I add more tables from the same source to the existing connection?
  10. Can I import data from my Amazon RDS MySQL database into an existing Zoho Analytics workspace?
  11. Can I synchronize the data from my Cloud Database instantly?
  12. The Last Data Sync Status in Datasources page shows Sync Failed. How do I resolve it?
  13. How do I remove the Setup?

Live Connect [Beta]

  1. Preamble: Why should I whitelist Zoho Analytics IP address and how do I do it?
  2. How do I connect live with the Amazon RDS MySQL database?
  3. How can I edit the live connect setup?
  4. How is Live Connect different from Data Import?
  5. How long does it take for me to visualize my data in Zoho Analytics?
  6. Can I connect Views created in Amazon RDS MySQL (apart from Tables) to Zoho Analytics?
  7. Will foreign keys defined between my tables in Amazon RDS MySQL database be linked in Zoho Analytics as well?
  8. I got an alert message "This view cannot be accessed due to some changes made in the table" while accessing my tables/reports in Zoho Analytics. What should I do?
  9. What is a Mismatch?
  10. When do Mismatches occur and how to resolve them?
  11. Can I connect the new columns added in my Amazon RDS MySQL database to Zoho Analytics?
  12. Can I change the data-type of the columns in Zoho Analytics?
  13. Can I import data from other data sources into the same workspace that I have used to connect with Amazon RDS MySQL?
  14. Can I create Query Tables over the Amazon RDS MySQL data?
  15. What happens when I delete or rename the database in Amazon RDS MySQL?
  16. How do I remove the Setup?
  17. What are the limitations of Amazon RDS MySQL Live Connect?

Troubleshooting Tips

  1. I get an error message "Sorry, there is a problem in connecting to your cloud data source. Check your connection details and try again." What should I do?
  2. I get an error message “Cannot connect to the specified endpoint/hostname. Please check if the specified endpoint/hostname is configured as publicly accessible” when trying to connect to Amazon RDS database. What should I do?

Data Import

1. Preamble: Why should I whitelist Zoho Analytics IP addresses and How do I do it? 

2. How do I import data from the Amazon RDS MySQL database?

3. How can I edit the setup?

4. How long does it take for the data to be imported into Zoho Analytics? 

After setup, you might have to wait sometime for the initial fetch to happen. This depends upon the amount of data to be imported into Zoho Analytics and also the response time of your Amazon RDS MySQL server. You will receive an email notification once the import is complete. Please note that, if you access the workspace before the initial fetch, it will not display any data.

5. Can I import data from Views created in Amazon RDS MySQL (apart from Tables) into Zoho Analytics?

Yes, you can import data from both Views and Tables into Zoho Analytics.

You can import data from tables, views, external tables, managed tables, and virtual views available in your Amazon RDS MySQL database into your Zoho Analytics workspace.

6. Will foreign keys defined between my tables in the Amazon RDS MySQL database be linked in Zoho Analytics as well? 

When importing multiple tables, the foreign keys defined between the tables in Amazon RDS MySQL database will be linked in Zoho Analytics. The foreign keys will be created as Look-up columns in Zoho Analytics. 

If you import data from one table at a time (choosing single table option) then the foreign keys will not be defined. However, you can manually link the tables in Zoho Analytics using the Look-up column feature. Click here to learn about the Look-up column feature.

7. Can I change the data-type of the columns imported in Zoho Analytics? 

Yes, you can change the datatype of the columns imported into Zoho Analytics. However it is necessary that the data-type of your column is compatible with the data-type of the column in your Amazon RDS MySQL database for successful data synchronizations. It is always recommended that you change the data type in both your Amazon RDS MySQL database as well as your Zoho Analytics workspace.

8. I have synced data from a database into a table. Can I change the data source of this table? 

Yes, you can change the data source of a table, into which the Amazon RDS MySQL database has been synced. 

Follow the below steps to import if the source is available in the same Amazon RDS MySQL database that is imported into the table. 

  1. Open the Workspace.
  2. Click Import Data> Import into this Table.
  3. The Select Data to Import tab of Import wizard will open. 
  4. You can choose to import from a different table using the Select Table option or import using the Custom Query.
​ 

Follow the below steps to import if the source is available in a different local database.

  1. Open the Workspace.
  2. Click Data Source from the left bar. 
  3. All data sources for this Workspace will be listed. Click the data source you want to edit.
  4. The Data Source page will open. Click Edit Connection
  5. In the Cloud Database - Edit Connection dialog that open, modify the data source. You can also change the Databridge that fetches the data. 

9. I have connected to a database and imported a few tables into Zoho Analytics.  Can I add more tables from the same source to the existing connection?

Yes, you can add tables from the same source to the existing connection. Follow the below steps:

  1. From your Amazon RDS MySQL Workspace, navigate through Create > New Table / Import Data.
  2. Click the Cloud Databases option. The Connect to Cloud Database wizard will open.
  3. From the Connection name drop down menu, select the existing Amazon RDS MySQL database name. 

The rest of the steps are similar to importing data from cloud database.

Note: In case you change the schedule interval while importing the tables, the same intervals will be applied to already imported tables as well.

10. Can I import data from my Amazon RDS MySQL database into an existing Zoho Analytics workspace?

Yes. Follow the below steps to import data into an existing workspace:

  1. Open the Workspace into which you wish to import the data.
  2. Navigate through Create > New Table / Import Data.
  3. Click the Cloud Databases option. 

Configuring the import will be similar to the steps followed in this presentation.

11. Can I synchronize the data from my Cloud Database instantly?  

Yes, you can synchronize your data from Cloud Database instantly when needed. 

To synchronize your data instantly:

  1. Login to your Zoho Analytics account.
  2. Open the corresponding Workspace.
  3. From the home page, click Data Source tab. The Data Source page will open.
  4. Click Sync Now link.
Note: This option can be used to a maximum of five times per day.

12. The Last Data Sync Status in Datasources page shows Sync Failed. How do I resolve it?

You can resolve your sync failure by understanding the reason behind the failure. There are two methods to know the reason for the sync failure:

Method 1:

  1. Open the corresponding Workspace.
  2. Click Data Sources from the left bar. 
  3. All data sources for this Workspace will be listed. Click the data source that has failed to sync.

  1. The Data Sources page will open. Click the View Last Import Details icon that appears on mouse over of each table row. The Import Details pop-up page will open.

You will find the reason for your failure in the Details section. Take the necessary action based on the reason provided.​

Method 2:

  1. Open the corresponding table.
  2. Navigate through Import Data > Last Import Details.

The Import Details pop-up page will open. You will find the reason for your failure in the Details section. Take the necessary action based on the reason provided.

​​

13. How do I remove the Setup?

To remove the setup,

  1. Login to your Zoho Analytics account.
  2. Open the corresponding Workspace.
  3. From the home page, click Data Source tab. The Data Source page will open.
  4. Click the Settings icon.
  5. Select Remove Data Source from the drop-down menu that opens.
​​

Please note that the data source connection will be removed, but the tables and the data will be retained in the workspace. As the data source connected is removed, no further synchronization will happen.

Live Connect [Beta]

1. Preamble: Why should I whitelist Zoho Analytics IP addresses and How do I do it? 

2. How do I connect live with the Amazon RDS MySQL database?

3. How can I edit the live connect setup?

 

4. How is Live Connect different from Data Import?

Tabulated below are the differences between the Data Import feature and Live Connect feature.

Data ImportLive Connect
Data in Amazon RDS MySQL will be imported and stored in Zoho Analytics.Data from Amazon RDS MySQL will be fetched live using appropriate reporting queries whenever you create or access a report in Zoho Analytics.
Filtered data set can be imported from Amazon RDS MySQL using customized queries.Custom Query feature is not available in Amazon RDS MySQL Live Connect.
Multiple data sources (apart from Amazon RDS MySQL) can be imported into the same workspace and they can be combined for reporting & analysis purpose.Cannot import data from any other data source into the same workspace in which Live Connect from Amazon RDS MySQL is setup.
Changes made to the columns such as addition/deletion will be synchronized automatically.Any changes such as column addition/deletion/renaming will not be reflected. You will have to manually map the data using the Sync Design option.

When importing multiple tables, the foreign keys defined between the tables in Amazon RDS MySQL database will be linked in Zoho Analytics. The foreign keys will be created as Look-up columns in Zoho Analytics. If you import data from one table at a time (choosing single table option) then the foreign keys will not be defined. However, you can manually link the tables in Zoho Analytics using the Look-up column feature.

Look-up relationship will be automatically created for tables that are linked via foreign keys in Amazon RDS MySQL. However, you cannot manually link the tables in Zoho Analytics using Look-up column feature.
Users can create query tables.Users cannot create query tables.
Report loading time will be fast as the data is stored in Zoho Analytics.Report loading time directly depends on the Amazon RDS MySQL server response time and the amount of data in Amazon RDS MySQL.

5. How long does it take for me to visualize my data in Zoho Analytics?

As there is no data import process involved, the loading time depends upon the amount of data stored in your Amazon RDS MySQL database and also the response time of your Amazon RDS MySQL server.

6. Can I connect Views created in Amazon RDS MySQL (apart from Tables) to Zoho Analytics?

Yes, you can connect with both Views and Tables created in Amazon RDS MySQL to Zoho Analytics.

7. Will foreign keys defined between my tables in Amazon RDS MySQL database be linked in Zoho Analytics as well?

Yes. In case you have linked two or more tables in your Amazon RDS MySQL database using foreign keys, they will be linked automatically using a Look-up column in Zoho Analytics as well.

8. I got an alert message "This view cannot be accessed due to some changes made in the table" while accessing my tables/reports in Zoho Analytics. What should I do?

This alert message will be displayed when Zoho Analytics is not able to access the information from Amazon RDS MySQL. This could be because the tables/columns that you are trying to access in Zoho Analytics is deleted or renamed in Amazon RDS MySQL.

In this case, it is recommended that you remap the table/column. Refer to this presentation to know how to remap a table.

9. What is a Mismatch?

When you have created reports in Zoho Analytics over the tables or columns which no longer have a direct mapping in Amazon RDS MySQL database, it will be listed as mismatch. 

So, ensure that the tables/columns in Zoho Analytics workspace and Amazon RDS MySQL database matches. The tables/columns that do not match will be listed in the Mismatch tab of the Amazon RDS ConnectionSettings page. Refer the next question to know more about mismatch.

10. When do Mismatches occur and how to resolve them?

11. Can I connect new columns added in my Amazon RDS MySQL database to Zoho Analytics?

Yes, you can connect the new columns that are added in your Amazon RDS MySQL database to Zoho Analytics from the Amazon RDS Connection Settings page. Refer to this presentation to know more.

Note:

If there exists a mismatch between the already available data in your Zoho Analytics workspace and your Amazon RDS MySQL database, Zoho Analytics will NOT be able to fetch the new column information. In this case, you need to first resolve the mismatches to connect to the new columns.

12. Can I change the data-type of the columns in Zoho Analytics?

No, you cannot change the data type of the columns in Zoho Analytics.

13. Can I import data from other data sources into the same workspace that I have used to connect with Amazon RDS MySQL?

No, you cannot import data from other data sources into the same workspace that you have used to connect with Amazon RDS MySQL.

14. Can I create Query Tables over the Amazon RDS MySQL data?

No, you will not be able to create Query Tables if you have setup the workspace using the Amazon RDS MySQL Live Connect option. This is because this option does not fetch and store the data locally in Zoho Analytics. If you wish to create Query Tables, we request you to use the Data Import option.

15. What happens when I delete or rename the database in Amazon RDS MySQL?

When you delete or rename a database in Amazon RDS MySQL, Zoho Analytics loses its connectivity with Amazon RDS MySQL. Thereafter, a warning message, as shown below, would be displayed. This error message will also be displayed if there are any connectivity issues or if your Amazon RDS MySQL credentials have expired.

For more information regarding the same, refer to the Edit Connection presentation.

16. How do I remove the Setup?

You have to delete the workspace in Zoho Analytics to remove the connection setup. 

To delete the workspace,

  1. Log in to Zoho Analytics
  2. Click the More Actions icon that appears on mouse hover adjacent to the workspace name that you want to delete
  3. Click the Delete Workspace option

17. What are the limitations of using the Amazon RDS MySQL Live Connect?

Given below are a few short comings that one might face while using the Amazon RDS MySQL Live Connect option.

  • Data from your Amazon RDS MySQL database will NOT be locally stored in Zoho Analytics. Zoho Analytics will generate appropriate queries to fetch the required data live from Amazon RDS MySQL and show you the report. Hence, the loading time will directly depend on the performance of Amazon RDS MySQL.
  • Any changes such as column addition/deletion/renaming will not be mapped automatically. The user must manually map the updates made.
  • Users cannot combine data from other data sources into the same workspace in which you have connected the Amazon RDS MySQL database. 
  • Users cannot create query tables.

Troubleshooting Tips

1. I get an error message "Sorry, there is a problem in connecting to your cloud data source. Check your connection details and try again." What should I do?

This error occurs in the following scenarios:

ScenarioSolution
Incorrect connection settings are specifiedEnsure that the correct Endpoint/Hostname, Port, and user credentials are specified.
Your cloud database service does not recognise Zoho Analytics as an authenticated agent to fetch the dataTo import data from Amazon RDS you need to whitelist Zoho Analytics IP address.

2. I get an error message “Cannot connect to the specified endpoint/hostname. Please check if the specified endpoint/hostname is configured as publicly accessible” when trying to connect to Amazon RDS database. What should I do?

This is because you have NOT enabled Public Accessibility while creating the RDS instance. Ensure to enable the public accessibility option in the Amazon RDS interface.

Note: If you don’t want to enable the Public accessibility option, you can connect to the Amazon RDS database using Zoho Databridge.

Share this post : FacebookTwitter

Still can't find what you're looking for?

Write to us: support@zohoanalytics.com