LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-15-2010, 03:12 AM   #1
ajayan
Member
 
Registered: Dec 2007
Posts: 89

Rep: Reputation: 16
Mysql replication fails after reading large table


Hi All,

My MySQL replication slave failed,while reading a large size table from master.Thhe information from error.log

Error 'Unknown table engine 'InnoDB'' on query. Default database: 'test'. Query:

I am sure that table is a Big size table..

Is there any thing i need to enable in the my.cnf

Thanks,
Ajayan
 
Old 10-15-2010, 06:18 AM   #2
sem007
Member
 
Registered: Nov 2006
Distribution: RHEL, CentOS, Debian Lenny, Ubuntu
Posts: 638

Rep: Reputation: 113Reputation: 113
Provide some more info.

How you setup and when you get this error?
what is my.cnf configuration in master and slave?

BTW test is a mysql test database.

Regards,
 
Old 10-20-2010, 04:20 AM   #3
ajayan
Member
 
Registered: Dec 2007
Posts: 89

Original Poster
Rep: Reputation: 16
I am working on a program which will fetch data from Remote FTP server and Update it in to Master DB.This error happened several times.I think the table is slave is big.Currently replication is done through SSL.Here is my.cnf Slave Server.

[client]
port = 3306
socket = /var/run/mysqld/mysqld.sock
ssl
ssl-ca=/var/lib/mysql/ca-cert.pem
[mysqld]
key_buffer = 16M
max_allowed_packet = 32M
thread_stack = 192K
thread_cache_size = 8

key_buffer = 16M
max_allowed_packet = 32M
thread_stack = 192K
thread_cache_size = 8
# This replaces the startup script and checks MyISAM tables if needed
# the first time they are touched
myisam-recover = BACKUP
#max_connections = 100
#table_cache = 64
#thread_concurrency = 10
#
# * Query Cache Configuration
#
query_cache_limit = 1M
query_cache_size = 16M
[mysqldump]
quick
quote-names
max_allowed_packet = 32M

[mysql]
#no-auto-rehash # faster start of mysql but no tab completition

[isamchk]
key_buffer = 16M

and DB Master my.cnf
key_buffer = 16M
max_allowed_packet = 32M
thread_stack = 192K
thread_cache_size = 8
# This replaces the startup script and checks MyISAM tables if needed
# the first time they are touched
myisam-recover = BACKUP
# * Query Cache Configuration
#
query_cache_limit = 1M
query_cache_size = 16M
#
server-id = 1
log_bin = /var/lib/mysql/log/mysql-bin.log
expire_logs_days = 3
max_binlog_size = 100M
[mysqldump]
quick
quote-names
max_allowed_packet = 32M

[mysql]

[isamchk]
key_buffer = 16M


Thanks
Ajayan
 
Old 10-20-2010, 04:21 AM   #4
ajayan
Member
 
Registered: Dec 2007
Posts: 89

Original Poster
Rep: Reputation: 16
I am working on a program which will fetch data from Remote FTP server and Update it in to Master DB.This error happened several times.I think the table is slave is big.Currently replication is done through SSL.Here is my.cnf Slave Server.

[client]
port = 3306
socket = /var/run/mysqld/mysqld.sock
ssl
ssl-ca=/var/lib/mysql/ca-cert.pem
[mysqld]
key_buffer = 16M
max_allowed_packet = 32M
thread_stack = 192K
thread_cache_size = 8

key_buffer = 16M
max_allowed_packet = 32M
thread_stack = 192K
thread_cache_size = 8
# This replaces the startup script and checks MyISAM tables if needed
# the first time they are touched
myisam-recover = BACKUP
#max_connections = 100
#table_cache = 64
#thread_concurrency = 10
#
# * Query Cache Configuration
#
query_cache_limit = 1M
query_cache_size = 16M
[mysqldump]
quick
quote-names
max_allowed_packet = 32M

[mysql]
#no-auto-rehash # faster start of mysql but no tab completition

[isamchk]
key_buffer = 16M


DB Master my.cnf


key_buffer = 16M
max_allowed_packet = 32M
thread_stack = 192K
thread_cache_size = 8
# This replaces the startup script and checks MyISAM tables if needed
# the first time they are touched
myisam-recover = BACKUP
# * Query Cache Configuration
#
query_cache_limit = 1M
query_cache_size = 16M
#
server-id = 1
log_bin = /var/lib/mysql/log/mysql-bin.log
expire_logs_days = 3
max_binlog_size = 100M
[mysqldump]
quick
quote-names
max_allowed_packet = 32M

[mysql]

[isamchk]
key_buffer = 16M


Thanks
Ajayan
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mysql replication failed after mysql reboot ajayan Linux - Newbie 8 09-08-2010 12:00 PM
MySQL non-realtime table-by-table mirroring Passive Linux - Software 1 01-20-2004 01:11 PM
How to import MS ACCESS Table including OLE filed into the MySQL Table ? myunicom Linux - General 1 11-28-2003 12:30 PM
Mysql replication pk21 Linux - Software 0 08-28-2003 06:00 AM
mysql replication cheng Linux - Software 1 08-22-2002 03:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration