gpt4 book ai didi

mysql - Amazon EC2 MySQL 启动失败

转载 作者:IT老高 更新时间:2023-10-29 00:15:20 27 4
gpt4 key购买 nike

在几分钟前随机停止工作后,我在启动 MySQL 时遇到了问题。我在尝试连接时收到此错误:

Connect failed: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

所以我尝试重新启动 MySQL(这对我之前有用),我得到了这个:

Stopping mysqld:                                           [  OK  ]
MySQL Daemon failed to start.
Starting mysqld: [FAILED]

这是我的错误日志:

130414 20:03:45 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
130414 20:03:45 [Note] Plugin 'FEDERATED' is disabled.
130414 20:03:45 InnoDB: The InnoDB memory heap is disabled
130414 20:03:45 InnoDB: Mutexes and rw_locks use GCC atomic builtins
130414 20:03:45 InnoDB: Compressed tables use zlib 1.2.5
130414 20:03:45 InnoDB: Using Linux native AIO
130414 20:03:45 InnoDB: Initializing buffer pool, size = 128.0M
130414 20:03:45 InnoDB: Completed initialization of buffer pool
InnoDB: The first specified data file ./ibdata1 did not exist:
InnoDB: a new database to be created!
130414 20:03:45 InnoDB: Setting file ./ibdata1 size to 10 MB
InnoDB: Database physically writes the file full: wait...
130414 20:03:46 InnoDB: Log file ./ib_logfile0 did not exist: new to be created
InnoDB: Setting log file ./ib_logfile0 size to 5 MB
InnoDB: Database physically writes the file full: wait...
130414 20:03:46 InnoDB: Log file ./ib_logfile1 did not exist: new to be created
InnoDB: Setting log file ./ib_logfile1 size to 5 MB
InnoDB: Database physically writes the file full: wait...
InnoDB: Doublewrite buffer not found: creating new
InnoDB: Doublewrite buffer created
InnoDB: 127 rollback segment(s) active.
InnoDB: Creating foreign key constraint system tables

谁能提供一些建议?我对这个服务器的东西很陌生:P

非常感谢!

最佳答案

我通过重启我的 EC2 实例解决了这个问题。

关于mysql - Amazon EC2 MySQL 启动失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16917973/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com