Skip to content

Instantly share code, notes, and snippets.

@thapakazi
Created December 19, 2013 10:35
Show Gist options
  • Save thapakazi/8037315 to your computer and use it in GitHub Desktop.
Save thapakazi/8037315 to your computer and use it in GitHub Desktop.
mysql> show slave status\G;
*************************** 1. row ***************************
Slave_IO_State: Waiting for master to send event
Master_Host: 192.168.2.210
Master_User: replica
Master_Port: 3306
Connect_Retry: 60
Master_Log_File: mysql-bin.000012
Read_Master_Log_Pos: 100087
Relay_Log_File: mysqld-relay-bin.000010
Relay_Log_Pos: 553
Relay_Master_Log_File: mysql-bin.000012
Slave_IO_Running: Yes
Slave_SQL_Running: No
Replicate_Do_DB:
Replicate_Ignore_DB:
Replicate_Do_Table:
Replicate_Ignore_Table:
Replicate_Wild_Do_Table:
Replicate_Wild_Ignore_Table:
Last_Errno: 1146
Last_Error: Error 'Table 'percona.checksums' doesn't exist' on query. Default database: 'employees'. Query: 'REPLACE INTO `percona`.`checksums` (db, tbl, chunk, chunk_index, lower_boundary, upper_boundary, this_cnt, this_crc) SELECT 'employees', 'departments', '1', NULL, NULL, NULL, COUNT(*) AS cnt, COALESCE(LOWER(CONV(BIT_XOR(CAST(CRC32(CONCAT_WS('#', `dept_no`, `dept_name`)) AS UNSIGNED)), 10, 16)), 0) AS crc FROM `employees`.`departments` /*checksum table*/'
Skip_Counter: 0
Exec_Master_Log_Pos: 269
Relay_Log_Space: 101989
Until_Condition: None
Until_Log_File:
Until_Log_Pos: 0
Master_SSL_Allowed: Yes
Master_SSL_CA_File:
Master_SSL_CA_Path:
Master_SSL_Cert:
Master_SSL_Cipher:
Master_SSL_Key:
Seconds_Behind_Master: NULL
Master_SSL_Verify_Server_Cert: No
Last_IO_Errno: 0
Last_IO_Error:
Last_SQL_Errno: 1146
Last_SQL_Error: Error 'Table 'percona.checksums' doesn't exist' on query. Default database: 'employees'. Query: 'REPLACE INTO `percona`.`checksums` (db, tbl, chunk, chunk_index, lower_boundary, upper_boundary, this_cnt, this_crc) SELECT 'employees', 'departments', '1', NULL, NULL, NULL, COUNT(*) AS cnt, COALESCE(LOWER(CONV(BIT_XOR(CAST(CRC32(CONCAT_WS('#', `dept_no`, `dept_name`)) AS UNSIGNED)), 10, 16)), 0) AS crc FROM `employees`.`departments` /*checksum table*/'
Replicate_Ignore_Server_Ids:
Master_Server_Id: 1
1 row in set (0.00 sec)
ERROR:
No query specified
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment