Creating MySQL Dataset
To create a MySQL dataset, follow the steps 1 and 2 given in Creating SQL Dataset.
The following figure shows the Product Selection page.

The Data Connect page for choosing your dataset type is displayed.
From the RDBMS options, select MySQL.
The following figure shows RDBMS options.

Create MySQL Dataset page is displayed.

- Enter a suitable Name for the Dataset.
- In the Connection Parameter section, enter the following details.
-- Host (IP address of the server where your database resides)
-- Port (for the localhost on which the MySQL database service is available)
-- Username (of the account authorized to access the database)
-- Password (for the account)
-- Database (name to access schema(s) and the table(s)
- Click Test Connection. The message "Database Connection Successful" is displayed in green if the parameters are accurate. After a successful connection, the Database dropdown is populated with a list of available databases.
- From the Schema dropdown, select the schema(s) that contains your table(s) and click Done. After selecting the schema(s), the Select Tables dropdown is populated with a list of all available tables in the schema(s).
- From the Select Tables dropdown, select the required tables and click Done.
- To add a custom query to select data from the tables, click Add Custom Query. Add Custom Query screen is displayed. Refer to Adding A Custom Query for details.
- Click Create. The MySQL dataset is created in Rubiscape and is available for use in your workbooks and workflows.
Notes: | - The default port is displayed in the Port field and auto-selected while creating the Dataset. You can change the port before making a connection.
- You can select multiple schemas from the available options in the Schema dropdown.
- You can select multiple tables from the available options in the Select Tables dropdown.
- The selection of schema is optional. If you do not select any schema, all tables in all the schemas are populated in the Select Table dropdown.
- After you select a Database, the Schema dropdown and Select Tables dropdown are populated with a list of all available schemas and tables respectively.
- Enabling the "Disable Cache" option allows you to create a dataset without generating a dataset cache.
- When you select to "Disable Cache", the dashboard will not offer the "Enable Direct Query" option. For more information, please refer to the "Enable Direct Query" document.
|