Код: Выделить всё
090915 9:52:05 InnoDB: Error: page 117841 log sequence number 9 2388749690
InnoDB: is in the future! Current system log sequence number 8 1156220385.
InnoDB: Your database may be corrupt or you may have copied the InnoDB
InnoDB: tablespace but not the InnoDB log files. See
InnoDB: http://dev.mysql.com/doc/refman/5.1/en/forcing-recovery.html
InnoDB: for more information.
My.cnf
Код: Выделить всё
client]
port = 3306
socket = /tmp/mysql.sock
user = guest
password = guest
[mysqld]
port = 3306
socket = /tmp/mysql.sock
#ndbcluster
#ndb-connectstring=10.100.100.11
## BINLOG ##
back_log = 50
binlog_cache_size = 1M
expire_logs_days = 1
log-bin=mysql-bin
log_warnings
## LOG ##
log-output=file
log_error=/var/log/mysql/mysql.err
slow_query_log=/var/log/mysql/mysql-slow.log
long_query_time = 0.5
## NETWORK ##
#skip-networking
max_connections = 300
max_connect_errors = 10
thread_stack = 192K
transaction_isolation = REPEATABLE-READ
thread_cache_size = 16
thread_concurrency = 8
## BUFFERS ##
sort_buffer_size = 4M
join_buffer_size = 4M
max_allowed_packet = 16M
key_buffer_size = 384M
read_buffer_size = 2M
read_rnd_buffer_size = 16M
bulk_insert_buffer_size = 64M
myisam_sort_buffer_size = 128M
myisam_max_sort_file_size = 10G
myisam_max_extra_sort_file_size = 10G
## CACHE ##
query_cache_size = 96M
query_cache_min_res_unit = 512
query_cache_limit = 2M
table_definition_cache = 256
table_cache = 2048
max_heap_table_size = 128M
## MYISAM ##
myisam_repair_threads = 1
myisam_recover
#skip-bdb
## INNODB ##
innodb_additional_mem_pool_size = 20M
innodb_buffer_pool_size = 512M
innodb_data_file_path = ibdata1:10M:autoextend
innodb_file_io_threads = 4
innodb_thread_concurrency = 16
innodb_flush_log_at_trx_commit = 1
innodb_log_buffer_size = 8M
innodb_log_file_size = 256M # 256
innodb_log_files_in_group = 3 # 3
innodb_max_dirty_pages_pct = 90
innodb_lock_wait_timeout = 120
wait_timeout=36000
## SYSTEM ##
memlock
default_table_type = MyISAM
tmp_table_size = 128M
[mysqldump]
quick
max_allowed_packet = 16M
[mysql]
no-auto-rehash
[isamchk]
key_buffer = 512M
sort_buffer_size = 512M
read_buffer = 8M
write_buffer = 8M
[myisamchk]
key_buffer =512M
sort_buffer_size =512M
read_buffer = 8M
write_buffer = 8M
[mysqlhotcopy]
interactive-timeout
[mysqld_safe]
open-files-limit = 8192