Reference documentation and code samples for the Cloud SQL Admin V1 API class Google::Cloud::Sql::V1::ExportContext::SqlExportOptions::MysqlExportOptions.
Options for exporting from MySQL.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#master_data
def master_data() -> ::Google::Protobuf::Int32Value
Returns
-
(::Google::Protobuf::Int32Value) — Option to include SQL statement required to set up replication. If set
to
1, the dump file includes a CHANGE MASTER TO statement with the binary log coordinates, and --set-gtid-purged is set to ON. If set to2, the CHANGE MASTER TO statement is written as a SQL comment and has no effect. If set to any value other than1, --set-gtid-purged is set to OFF.
#master_data=
def master_data=(value) -> ::Google::Protobuf::Int32Value
Parameter
-
value (::Google::Protobuf::Int32Value) — Option to include SQL statement required to set up replication. If set
to
1, the dump file includes a CHANGE MASTER TO statement with the binary log coordinates, and --set-gtid-purged is set to ON. If set to2, the CHANGE MASTER TO statement is written as a SQL comment and has no effect. If set to any value other than1, --set-gtid-purged is set to OFF.
Returns
-
(::Google::Protobuf::Int32Value) — Option to include SQL statement required to set up replication. If set
to
1, the dump file includes a CHANGE MASTER TO statement with the binary log coordinates, and --set-gtid-purged is set to ON. If set to2, the CHANGE MASTER TO statement is written as a SQL comment and has no effect. If set to any value other than1, --set-gtid-purged is set to OFF.