Data Source - MySQL
    • PDF

    Data Source - MySQL

    • PDF

    Article summary

    summary

    Help Page for ETL Configuration of Data Setting from MySQL.

    constraints

    Supported versions of MariaDB

    We have confirmed the following versions of MariaDB.

    • v11.0: Transfer is not supported.
    • v11.1: It has been confirmed that the transfer is possible.

    Transfers using versions other than MariaDB v11.1 are not supported. Please understand that we are not responsible for any loss or damage to your property.

    Setting items

    STEP1 Basic settings

    item nameindispensabledefault valueContents
    MySQL Connection ConfigurationYes-Select the previously registered Connection Configuration that has the necessary permissions for this ETL Configuration.
    databaseYes-Enter the name of the database containing the data you wish to transfer in MySQL.
    You can use the auto-completion function when typing.
    You can also load a list of databases by pressing "Load Database List".
    Transfer MethodYesTransfer using querySelect either Transfer or Incremental Data Transfer****using the query.
    For more information on Incremental Data Transfer, see Incremental Data Transfer Function.
    queryYes-Enter if you selected transfer using query as the transfer method.
    Enter SQL to retrieve transfer data.
    tableYes-Enter if Incremental Data Transfer is selected as the transfer method.
    Enter the name of the table containing the data you wish to transfer.
    Default time zoneNo-Enter the server-side time zone setting for MySQL.
    For example, if the time zone is Japan, enter Asia/Tokyo.

    STEP2 Detailed settings

    item namedefault valueContents
    Number of records processed by the cursor at one time10000You can specify the number of rows to be retrieved at a time by the cursor.
    Connection timeout (sec)300You can specify the time in seconds until timeout on connection.
    Socket timeout (seconds)1800Socket timeout can be specified in seconds.

    supplement

    If an error occurs during the transfer execution and the following message is found in the error log, the number of records processed by the cursor at one time may be too large, please decrease the value from STEP 2 and execute again.

    org.embulk.exec.PartialExecutionException: java.lang.RuntimeException: java.lang.OutOfMemoryError: Java heap space


    Was this article helpful?