1
私は時折MySQLサーバプロセスの終了を経験しました。私はmysqlサーバを再起動する必要があるので、これは面倒です。ここで私が見つけたログは次のとおりです。MySQLが失敗することがありました
160409 01:49:44 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
160409 1:49:44 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
160409 1:49:44 [Warning] The syntax '--log-slow-queries' is deprecated and will be removed in a future release. Please use '--slow-query-log'/'--slow-query-log-file' instead.
160409 1:49:44 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
160409 1:49:44 [Note] /usr/sbin/mysqld (mysqld 5.5.47-0ubuntu0.14.04.1-log) starting as process 26120 ...
160409 1:49:44 [Warning] Using unique option prefix myisam-recover instead of myisam-recover-options is deprecated and will be removed in a future release. Please use the full name instead.
160409 1:49:44 [Note] Plugin 'FEDERATED' is disabled.
160409 1:49:44 InnoDB: The InnoDB memory heap is disabled
160409 1:49:44 InnoDB: Mutexes and rw_locks use GCC atomic builtins
160409 1:49:44 InnoDB: Compressed tables use zlib 1.2.8
160409 1:49:44 InnoDB: Using Linux native AIO
160409 1:49:44 InnoDB: Initializing buffer pool, size = 128.0M
160409 1:49:44 InnoDB: Completed initialization of buffer pool
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
160409 1:49:44 InnoDB: Retrying to lock the first data file
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
この問題のようですhttp://serverfault.com/questions/477448/mysql-keeps-crashing-innodb-unable-to-lock-ibdata1-error-11 – Oldskool
アイデア:あなたがまだ別のものを持っていないことを確認してくださいmysqldプロセス。 – Biffen
いつこのエラーメッセージが表示されますか?再起動時に、通常のスタートで?通常の起動の場合、すでにmysqlサービスが実行されていないことを完全に確認していますか?あなたは – IceFire