微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

MySQL5.7启动数据库报错'does not exist or is not executable'怎么解决

本篇内容介绍了“MySQL5.7启动数据库报错'does not exist or is not executable'怎么解决”的有关知识,在实际案例的操作过程中,不少人都会遇到这样的困境,接下来就让小编带领大家学习一下如何处理这些情况吧!希望大家仔细阅读,能够学有所成!

MysqL 5.7启动数据库报错
[root@localhost ~]# MysqLd_safe --defaults-file=/etc/my.cnf &
[1] 23687
[root@localhost ~]#  MysqLd_safe Adding '/MysqL_software_57/lib/MysqL/libjemalloc.so.1' to LD_PRELOAD for MysqLd
2017-04-08T00:21:30.162718Z MysqLd_safe Logging to '/MysqL_log_57/MysqLd_error.log'.
2017-04-08T00:21:30.166075Z MysqLd_safe Logging to '/MysqL_log_57/MysqLd_error.log'.
2017-04-08T00:21:30.171866Z MysqLd_safe The file /usr/local/Percona-Server-5.7.17-11-Linux.x86_64.ssl101/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

[1]+  Exit 1                  MysqLd_safe --defaults-file=/etc/my.cnf

解决方法
MysqL 5.7中,安全性提升,要求切换到软件安装目录,来启动数据库
[root@localhost ~]# cd /MysqL_software_57/
[root@localhost MysqL_software_57]# bin/MysqLd_safe --defaults-file=/etc/my.cnf &
[1] 25341
[root@localhost MysqL_software_57]#  MysqLd_safe Adding '/MysqL_software_57/lib/MysqL/libjemalloc.so.1' to LD_PRELOAD for MysqLd
2017-04-08T00:22:31.981599Z MysqLd_safe Logging to '/MysqL_log_57/MysqLd_error.log'.
2017-04-08T00:22:31.984805Z MysqLd_safe Logging to '/MysqL_log_57/MysqLd_error.log'.
2017-04-08T00:22:32.070881Z MysqLd_safe Starting MysqLd daemon with databases from /MysqL_data_57

MysqL5.7启动数据库报错'does not exist or is not executable'怎么解决”的内容就介绍到这里了,感谢大家的阅读。如果想了解更多行业相关的知识可以关注编程之家网站,小编将为大家输出更多高质量的实用文章

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐