博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
执行mysqld_safe报错:mysqld does not exist or is not executable
阅读量:7085 次
发布时间:2019-06-28

本文共 955 字,大约阅读时间需要 3 分钟。

执行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只认识/usr/local/mysql/bin/mysqld路径的mysqld

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

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

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

 

转载于:https://www.cnblogs.com/myrunning/p/5438537.html

你可能感兴趣的文章
数据结构系列3 线性表顺序映像的Java实现
查看>>
vue中v-model
查看>>
flex实战
查看>>
python file 文件操作笔记
查看>>
对于MySQL你必须要了解的锁知识
查看>>
从三流小公司到一线大厂,聊聊程序员的成长之道
查看>>
ClassPlaceholder插件:动态修改jar包class文件
查看>>
浅谈Netty中的ChannelPipeline
查看>>
快速排序
查看>>
一个Android渣渣终于拿到了一个offer
查看>>
linux下安装jdk
查看>>
深入理解Javascript之Callstack&EventLoop
查看>>
分布式消息队列RocketMQ--事务消息--解决分布式事务的最佳实践
查看>>
flutter的log过滤,快速定位代码异常
查看>>
用idea配置c3p0连接池
查看>>
java泛型中使用的排序算法——归并排序及分析
查看>>
初识认知心理学
查看>>
通信相关
查看>>
hexo搭建github博客详解
查看>>
java 8 stream API<一>
查看>>