CREATETABLEIFNOTEXISTSslave_relay_log_info(Master_idINTEGERUNSIGNEDNOTNULL,Number_of_linesINTEGERUNSIGNEDNOTNULLCOMMENT'Number of lines in the file or rows in the table. Used to version table definitions.',Relay_log_nameTEXTCHARACTERSETutf8COLLATEutf8_binNOTNULLCOMMENT'The name of the current relay log file.',Relay_log_posBIGINTUNSIGNEDNOTNULLCOMMENT'The relay log position of the last executed event.',Master_log_nameTEXTCHARACTERSETutf8COLLATEutf8_binNOTNULLCOMMENT'The name of the master binary log file from which the events in the relay log file were read.',Master_log_posBIGINTUNSIGNEDNOTNULLCOMMENT'The master log position of the last executed event.',Sql_delayINTEGERNOTNULLCOMMENT'The number of seconds that the slave must lag behind the master.',Number_of_workersINTEGERUNSIGNEDNOTNULL,PRIMARYKEY(Master_id))ENGINE=MYISAMDEFAULTCHARSET=utf8COMMENT'Relay Log Information';
CREATETABLEIFNOTEXISTSslave_master_info(Master_idINTEGERUNSIGNEDNOTNULL,Number_of_linesINTEGERUNSIGNEDNOTNULLCOMMENT'Number of lines in the file.',Master_log_nameTEXTCHARACTERSETutf8COLLATEutf8_binNOTNULLCOMMENT'The name of the master binary log currently being read from the master.',Master_log_posBIGINTUNSIGNEDNOTNULLCOMMENT'The master log position of the last read event.',HostTEXTCHARACTERSETutf8COLLATEutf8_binCOMMENT'The host name of the master.',User_nameTEXTCHARACTERSETutf8COLLATEutf8_binCOMMENT'The user name used to connect to the master.',User_passwordTEXTCHARACTERSETutf8COLLATEutf8_binCOMMENT'The password used to connect to the master.',PortINTEGERUNSIGNEDNOTNULLCOMMENT'The network port used to connect to the master.',Connect_retryINTEGERUNSIGNEDNOTNULLCOMMENT'The period (in seconds) that the slave will wait before trying to reconnect to the master.',Enabled_sslBOOLEANNOTNULLCOMMENT'Indicates whether the server supports SSL connections.',Ssl_caTEXTCHARACTERSETutf8COLLATEutf8_binCOMMENT'The file used for the Certificate Authority (CA) certificate.',Ssl_capathTEXTCHARACTERSETutf8COLLATEutf8_binCOMMENT'The path to the Certificate Authority (CA) certificates.',Ssl_certTEXTCHARACTERSETutf8COLLATEutf8_binCOMMENT'The name of the SSL certificate file.',Ssl_cipherTEXTCHARACTERSETutf8COLLATEutf8_binCOMMENT'The name of the cipher in use for the SSL connection.',Ssl_keyTEXTCHARACTERSETutf8COLLATEutf8_binCOMMENT'The name of the SSL key file.',Ssl_verify_server_certBOOLEANNOTNULLCOMMENT'Whether to verify the server certificate.',HeartbeatFLOATNOTNULLCOMMENT'',BindTEXTCHARACTERSETutf8COLLATEutf8_binCOMMENT'Displays which interface is employed when connecting to the MySQL server',Ignored_server_idsTEXTCHARACTERSETutf8COLLATEutf8_binCOMMENT'The number of server IDs to be ignored, followed by the actual server IDs',UuidTEXTCHARACTERSETutf8COLLATEutf8_binCOMMENT'The master server uuid.',Retry_countBIGINTUNSIGNEDNOTNULLCOMMENT'Number of reconnect attempts, to the master, before giving up.',Ssl_crlTEXTCHARACTERSETutf8COLLATEutf8_binCOMMENT'The file used for the Certificate Revocation List (CRL)',Ssl_crlpathTEXTCHARACTERSETutf8COLLATEutf8_binCOMMENT'The path used for Certificate Revocation List (CRL) files',Enabled_auto_positionBOOLEANNOTNULLCOMMENT'Indicates whether GTIDs will be used to retrieve events from the master.',PRIMARYKEY(Master_id))ENGINE=MYISAMDEFAULTCHARSET=utf8COMMENT'Master Information';