Hi guys and girls,
One of my slave machines appears to of lost replication due to the error in the subject. Please can anybody/somebody help me get this machine back in action. I could really do with the help. I can't get replication to catch up, or rid of this process no matter what I try.
Full details below:
mysql> show full processlist \G
*************************** 1. row ***************************
Id: 1
User: system user
Host:
db: NULL
Command: Connect
Time: 2007
State: Waiting for master to send event
Info: NULL
*************************** 2. row ***************************
Id: 6
User: repl
Host: ptsrv6.ptd.proteluk.net:2492
db: NULL
Command: Binlog Dump
Time: 2002
State: Master has sent all binlog to slave; waiting for binlog to be updated
Info: NULL
*************************** 3. row ***************************
Id: 108
User: system user
Host:
db: NULL
Command: Connect
Time: 14615
State: invalidating query cache entries (table)
Info: NULL
*************************** 4. row ***************************
Id: 3940
User: root
Host: localhost:53807
db: NULL
Command: Query
Time: 0
State: NULL
Info: show full processlist
4 rows in set (0.00 sec)
mysql> show variables like '%cache%';
+------------------------------+-----------+
| Variable_name | Value |
+------------------------------+-----------+
| binlog_cache_size | 32768 |
| have_query_cache | YES |
| key_cache_age_threshold | 300 |
| key_cache_block_size | 1024 |
| key_cache_division_limit | 100 |
| max_binlog_cache_size | 268435456 |
| query_cache_limit | 1048576 |
| query_cache_min_res_unit | 4096 |
| query_cache_size | 268435456 |
| query_cache_type | ON |
| query_cache_wlock_invalidate | OFF |
| table_definition_cache | 400 |
| table_open_cache | 256 |
| thread_cache_size | 8 |
+------------------------------+-----------+
14 rows in set (0.00 sec)
my.cnf
[client]
port=3306
[mysql]
default-character-set=latin1
[mysqld]
server-id = 4
expire_logs_days = 10
log-slave-updates=1
auto_increment_increment= 2
auto_increment_offset = 2
log-bin=mysql-bin
log-error=mysql-bin.err
binlog_format=ROW
port=3306
basedir="C:/Program Files/MySQL/MySQL Server 5.5/"
datadir="C:/ProgramData/MySQL/MySQL Server 5.5/Data/"
character-set-server=latin1
default-storage-engine=INNODB
max_connections=400
query_cache_size=268435456
max_binlog_cache_size=268435456
table_cache=256
tmp_table_size=1024M
thread_cache_size=8
#*** MyISAM Specific options
myisam_max_sort_file_size=8G
myisam_sort_buffer_size=410M
max_heap_table_size=256M
key_buffer_size=64M
read_buffer_size=128K
read_rnd_buffer_size=512K
sort_buffer_size=512K
#*** INNODB Specific options ***
innodb_additional_mem_pool_size=27M
innodb_flush_log_at_trx_commit=2
innodb_log_buffer_size=14M
innodb_buffer_pool_size=5120M
innodb_log_file_size=652M
innodb_thread_concurrency=10
One of my slave machines appears to of lost replication due to the error in the subject. Please can anybody/somebody help me get this machine back in action. I could really do with the help. I can't get replication to catch up, or rid of this process no matter what I try.
Full details below:
mysql> show full processlist \G
*************************** 1. row ***************************
Id: 1
User: system user
Host:
db: NULL
Command: Connect
Time: 2007
State: Waiting for master to send event
Info: NULL
*************************** 2. row ***************************
Id: 6
User: repl
Host: ptsrv6.ptd.proteluk.net:2492
db: NULL
Command: Binlog Dump
Time: 2002
State: Master has sent all binlog to slave; waiting for binlog to be updated
Info: NULL
*************************** 3. row ***************************
Id: 108
User: system user
Host:
db: NULL
Command: Connect
Time: 14615
State: invalidating query cache entries (table)
Info: NULL
*************************** 4. row ***************************
Id: 3940
User: root
Host: localhost:53807
db: NULL
Command: Query
Time: 0
State: NULL
Info: show full processlist
4 rows in set (0.00 sec)
mysql> show variables like '%cache%';
+------------------------------+-----------+
| Variable_name | Value |
+------------------------------+-----------+
| binlog_cache_size | 32768 |
| have_query_cache | YES |
| key_cache_age_threshold | 300 |
| key_cache_block_size | 1024 |
| key_cache_division_limit | 100 |
| max_binlog_cache_size | 268435456 |
| query_cache_limit | 1048576 |
| query_cache_min_res_unit | 4096 |
| query_cache_size | 268435456 |
| query_cache_type | ON |
| query_cache_wlock_invalidate | OFF |
| table_definition_cache | 400 |
| table_open_cache | 256 |
| thread_cache_size | 8 |
+------------------------------+-----------+
14 rows in set (0.00 sec)
my.cnf
[client]
port=3306
[mysql]
default-character-set=latin1
[mysqld]
server-id = 4
expire_logs_days = 10
log-slave-updates=1
auto_increment_increment= 2
auto_increment_offset = 2
log-bin=mysql-bin
log-error=mysql-bin.err
binlog_format=ROW
port=3306
basedir="C:/Program Files/MySQL/MySQL Server 5.5/"
datadir="C:/ProgramData/MySQL/MySQL Server 5.5/Data/"
character-set-server=latin1
default-storage-engine=INNODB
max_connections=400
query_cache_size=268435456
max_binlog_cache_size=268435456
table_cache=256
tmp_table_size=1024M
thread_cache_size=8
#*** MyISAM Specific options
myisam_max_sort_file_size=8G
myisam_sort_buffer_size=410M
max_heap_table_size=256M
key_buffer_size=64M
read_buffer_size=128K
read_rnd_buffer_size=512K
sort_buffer_size=512K
#*** INNODB Specific options ***
innodb_additional_mem_pool_size=27M
innodb_flush_log_at_trx_commit=2
innodb_log_buffer_size=14M
innodb_buffer_pool_size=5120M
innodb_log_file_size=652M
innodb_thread_concurrency=10