MySQL

MySQL

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.


  1. Enter a suitable Name for the Dataset.
  2. 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)

  3. 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.
  4. 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).
  5. From the Select Tables dropdown, select the required tables and click Done.
  6. To add a custom query to select data from the tables, click Add Custom QueryAdd Custom Query screen is displayed. Refer to Adding A Custom Query for details.
  7. 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.

    • Related Articles

    • ODBC

      Creating ODBC Dataset To create any RDBMS or Non-RDBMS Dataset using ODBC, 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 ...
    • RubiSQL

      RubiSQL is a feature within Code Fusion that helps write code in SQL to modify the values in your database. It also allows you to delete values in your database. You can use the RubiSQL node as a stand-alone node or connect it to the Reader node ...
    • RubiSQL

      RubiSQL is a feature within Code Fusion that helps write code in SQL to modify the values in your database. It also allows you to delete values in your database. You can use the RubiSQL node as a stand-alone node or connect it to the Reader node ...
    • Writing into Template Table

      You can store the result of algorithm flow or the Reader to a dataset table. Note: You can write to an RDBMS or ODBC (SQL, MySQL, PostgreSQL, or Oracle) datasets only. To write the output data to a template table, follow the steps given below. Build ...
    • Writing Data to the Template Table

      You can store the result of algorithm flow or the Reader to a dataset table. Note: You can write to an RDBMS or ODBC (SQL, MySQL, PostgreSQL, or Oracle) datasets only. To write the output data to a template table, follow the steps given below. Build ...