Skip to content

Add command to sync local table with cluster #21

Description

@MerlinWT

ml cluster table-sync:

  1. Create dump:
    ml cluster table-dump root stat - stat_system_hourly_device_type_os
  2. Download in to secure mysql dir:
    SHOW VARIABLES LIKE "secure_file_priv
    ml cluster pull-file root stat - /tmp/stat_system_hourly_device_type_os_stat-.csv /tpm
  3. Load dump into table:
    load data infile '/var/lib/mysql-files/stat_system_hourly_device_type_os_stat-.csv' into table stat_system_hourly_device_type_os;

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions