ec2 AMIにmysqlサーバーをインストールしました。突然mysqlサーバの動作が停止し、起動しなくなりました。ここ はmysql log
です:t2.mediumへAmazon EC2でMysqlサーバーが起動していない
1)アップグレードEC2のt2.micro:ここ
160629 4:28:37 [Note] /usr/libexec/mysql55/mysqld (mysqld 5.5.46) starting as process 3059 ...
160629 4:28:37 [Note] Plugin 'FEDERATED' is disabled.
160629 4:28:37 InnoDB: The InnoDB memory heap is disabled
160629 4:28:37 InnoDB: Mutexes and rw_locks use GCC atomic builtins
160629 4:28:37 InnoDB: Compressed tables use zlib 1.2.8
160629 4:28:37 InnoDB: Using Linux native AIO
160629 4:28:37 InnoDB: Initializing buffer pool, size = 512.0M
160629 4:28:37 InnoDB: Completed initialization of buffer pool
160629 4:28:37 InnoDB: highest supported file format is Barracuda.
InnoDB: No valid checkpoint found.
InnoDB: If this error appears when you are creating an InnoDB database,
InnoDB: the problem may be that during an earlier attempt you managed
InnoDB: to create the InnoDB data files, but log file creation failed.
InnoDB: If that is the case, please refer to
InnoDB: http://dev.mysql.com/doc/refman/5.5/en/error-creating-innodb.html
160629 4:28:37 [ERROR] Plugin 'InnoDB' init function returned error.
160629 4:28:37 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
160629 4:28:37 [ERROR] Unknown/unsupported storage engine: InnoDB
160629 4:28:37 [ERROR] Aborting
160629 4:28:37 [Note] /usr/libexec/mysql55/mysqld: Shutdown complete
160629 04:28:37 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
は、私はまだ試してみました何のアプローチです。 my.cnfの
3)ib_logfile0
と
ib_logfile1
私はMySQLを開始するために何をすべきか、次のステップを提案してください名前を変更するにinnodb_buffer_pool_size
を増加
2)。
編集:
Sudo free -m
total used free shared buffers cached
Mem: 3954 149 3805 0 9 86
-/+ buffers/cache: 53 3901
編集:MySQLをアンインストールして再インストールするための唯一の解決策は
ありますか? 「はい」の場合、既に作成されたデータベースをmysqlに保持する方法はありますか?提案してください。
それは4GBのRAMと空きメモリが '3805' –