LINUX.ORG.RU
ФорумAdmin

Проблемы с MySQL


0

0

Упал и больше не поднимается =)
При коннекте ошибка: Lost connection to MySQL server during query

В логах:
071001 11:34:32  mysqld started
InnoDB: Error: log file ./ib_logfile1 is of different size 0 0 bytes
InnoDB: than specified in the .cnf file 0 5242880 bytes!
071001 11:34:33 [ERROR] Can't init databases
071001 11:34:33 [ERROR] Aborting
071001 11:34:33 [Note] /usr/libexec/mysqld: Shutdown complete
071001 11:34:33  mysqld ended

Как лечить, подскажите плиз...

ЗЫ my.cnf:
[mysqld]
set-variable=local-infile=0
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
# Default to using old password format for compatibility with mysql 3.x
# clients (those using the mysqlclient10 compatibility package).
old_passwords=1
     
skip-bdb

set-variable = innodb_thread_concurrency=2
[mysql.server]
user=mysql
basedir=/var/lib

[mysqld_safe]
err-log=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
skip-bdb

set-variable = innodb_thread_concurrency=2
★★★★★

Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.