
센트OS 5.8
yum 업데이트를 실행하고 MySQL이 업데이트되었지만 이제 시작되지 않습니다. 이 문제의 원인이나 해결 방법에 대한 아이디어가 있습니까?
로그에 다음이 표시됩니다.
121017 15:58:39 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
121017 15:58:40 [Note] Plugin 'FEDERATED' is disabled.
121017 15:58:40 InnoDB: The InnoDB memory heap is disabled
121017 15:58:40 InnoDB: Mutexes and rw_locks use GCC atomic builtins
121017 15:58:40 InnoDB: Compressed tables use zlib 1.2.3
121017 15:58:40 InnoDB: Using Linux native AIO
121017 15:58:40 InnoDB: Error: Linux Native AIO is not supported on tmpdir.
InnoDB: You can either move tmpdir to a file system that supports native AIO
InnoDB: or you can set innodb_use_native_aio to FALSE to avoid this message.
121017 15:58:40 InnoDB: Error: Linux Native AIO check on tmpdir returned error[22]
121017 15:58:40 InnoDB: Warning: Linux Native AIO disabled.
121017 15:58:40 InnoDB: Initializing buffer pool, size = 512.0M
121017 15:58:40 InnoDB: Completed initialization of buffer pool
121017 15:58:40 InnoDB: highest supported file format is Barracuda.
121017 15:58:41 InnoDB: Waiting for the background threads to start
121017 15:58:42 InnoDB: 1.1.8 started; log sequence number 360826692325
121017 15:58:42 [ERROR] /usr/libexec/mysqld: unknown variable 'record_buffer=2M'
121017 15:58:42 [ERROR] Aborting
121017 15:58:42 InnoDB: Starting shutdown...
121017 15:58:42 InnoDB: Shutdown completed; log sequence number 360826692325
121017 15:58:43 [Note] /usr/libexec/mysqld: Shutdown complete
121017 15:58:43 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
답변1
record_buffer=2M
my.cnf 파일에서 제거 하고 다시 시도하십시오.
답변2
MySQL 5.5로 업그레이드하셨나요? 이 변수는 record_buffer
더 이상 사용되지 않습니다.
인용하다MySQL 5.5의 새로운 기능:
Removed Features
The record_buffer system variable (use read_buffer_size).
이제 변수가 호출됩니다.read_buffer_size.