Command mysql:master-info

Configure a MySQL replication slave with information about the master.

Arguments

  • url: Connection url.
  • master_hostname: Host name or address of the Replication Master.
  • replication_username: The name of the user account which will perform replication.
  • replication_password: Password for the replication user.

Options

  • --log-name: Recorded binary log file name. Can be omitted when the master has not yet been started with biary logging enabled.
  • --log-position: Recorded binary log file position. Can be omitted when the master has not yet been started with biary logging enabled.
Back to command index