Mysql不会重新启动

Mysql不会重新启动,mysql,Mysql,我正在尝试使用以下命令启动mysql服务器 sudo/etc/init.d/mysql start 但它不会启动。我没有得到一个具体的错误,我看到的只是 *启动MySQL数据库服务器mysqld[fail] 我尝试了相同的命令,但使用了restart,但结果相同。我也试着用 sudo服务启动mysql sudo pkill mysql 我被困在这一点上。请让我知道,如果我可以提供更多的信息 多谢各位 这是我的mysql error.log 150505 21:43:49 [Warning]

我正在尝试使用以下命令启动mysql服务器


sudo/etc/init.d/mysql start

但它不会启动。我没有得到一个具体的错误,我看到的只是

*启动MySQL数据库服务器mysqld[fail]

我尝试了相同的命令,但使用了
restart
,但结果相同。我也试着用

sudo服务启动mysql

sudo pkill mysql  
我被困在这一点上。请让我知道,如果我可以提供更多的信息

多谢各位

这是我的mysql error.log

150505 21:43:49 [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.
150505 21:43:49 [Note] Plugin 'FEDERATED' is disabled.
150505 21:43:49 InnoDB: The InnoDB memory heap is disabled
150505 21:43:49 InnoDB: Mutexes and rw_locks use GCC atomic builtins
150505 21:43:49 InnoDB: Compressed tables use zlib 1.2.8
150505 21:43:49 InnoDB: Using Linux native AIO
150505 21:43:49 InnoDB: Initializing buffer pool, size = 128.0M
150505 21:43:49 InnoDB: Completed initialization of buffer pool
150505 21:43:49 InnoDB: highest supported file format is Barracuda.
InnoDB: Log scan progressed past the checkpoint lsn 30152041
150505 21:43:49  InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
InnoDB: Doing recovery: scanned up to log sequence number 30161741

sudo/etc/init.d/mysql start

否则

使用sudo/etc/init.d/mysql restart重新启动服务器

还没下来

运行
服务mysql状态
并检查脚本名称(有时是mysqld)。 然后


我知道这个问题很久以前就发布了。但我已经找到了解决办法,因为我有同样的问题。由于在操作系统中多次安装MySQL,可能会发生此错误

sudo ps -A|grep mysql  
杀死
mysql的进程

sudo pkill mysql  
然后运行命令

sudo ps -A|grep mysqld  
mysqld

sudo pkill mysqld  
现在您可以安全地重新启动MySQL服务器了

sudo service mysql restart    
mysql -u root -p  

希望这对您有所帮助

重新启动系统后您是否尝试过此操作。有时它会起作用。@RushikeshDaad是的,我尝试重新启动我的计算机,但没有做任何事情。您的mysql错误日志显示了什么?@pala_uu我从日志中添加了一个片段。您可能正在运行两个版本,或者您使用的mysql端口可能正忙着检查这与我已经尝试过的有什么不同吗?谢谢,你刚刚为两个开发者节省了一个晚上。很高兴听到@VolodymyrI。