MySQL下mysqld_safe挂了_执行mysqld_safe报错:mysqld does not exist or is not executable

执行mysqld_safe报错:

[root@edu data]# /usr/local/mysql5.7/bin/mysqld_safe --user=mysql

160427 12:41:28 mysqld_safe Logging to '/renqinglei/mysql/log/mysql_error.log'.

160427 12:41:28 mysqld_safe The file /usr/local/mysql/bin/mysqld

does not exist or is not executable. Please cd to the mysql installation

directory and restart this script from there as follows:

./bin/mysqld_safe&

See http://dev.mysql.com/doc/mysql/en/mysqld-safe.html for more information

后台错误日志报:

160427 12:41:28 mysqld_safe The file /usr/local/mysql/bin/mysqld

does not exist or is not executable. Please cd to the mysql installation

directory and restart this script from there as follows:

./bin/mysqld_safe&

See http://dev.mysql.com/doc/mysql/en/mysqld-safe.html for more information

根据网上所说重新初始化数据库也不好使,

依据 惜分飞文章:mysqld_safe启动报错 mysqld_safe只认识/usr/local/mysql/bin/mysqld路径的mysqld

于是调整在当前目录创建了一个软链接,问题解决。

[root@edu local]# ln -s mysql5.7/  mysql

记录此错,仅为以后提醒。

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值