MangoCool

mysql错误:execute /opt/lnmpp/mysql/bin/mysql.server failed with errno 2

2022-09-20 14:21:04   作者:anobody   来源:MangoCool

有一次做mysql的数据恢复,恢复失败,结果mysql都无法启动了

只好打开mysql的错误日志,一看究竟,配置如下:

[mysqld]
#查看mysql启动错误日志 该文件需要提前创建并给予权限
log_error = /xx/mysql/mysql-error.log


错误日志1:

execute /opt/lnmpp/mysql/bin/mysql.server failed with errno 2

问题所在:没有bin/mysql.server这个文件

 

错误日志2:

execute /opt/lnmpp/mysql/bin/mysql.server failed with errno 13

问题所在:bin/mysql.server权限不对

标签: mysql mysql.server log_error

分享:

上一篇如何下载maven仓库中的SNAPSHOTS依赖包

下一篇org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean '' of type [] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

关于我

崇尚极简,热爱技术,喜欢唱歌,热衷旅行,爱好电子产品的一介码农。

座右铭

当你的才华还撑不起你的野心的时候,你就应该静下心来学习,永不止步!

人生之旅历途甚长,所争决不在一年半月,万不可因此着急失望,招精神之萎葸。

Copyright 2015- 芒果酷(mangocool.com) All rights reserved. 湘ICP备14019394号

免责声明:本网站部分文章转载其他媒体,意在为公众提供免费服务。如有信息侵犯了您的权益,可与本网站联系,本网站将尽快予以撤除。