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'怎么解决”的内容就介绍到这里了,感谢大家的阅读。如果想了解更多行业相关的知识可以关注编程之家网站,小编将为大家输出更多高质量的实用文章

相关文章

这篇文章主要介绍“hive和mysql的区别是什么”,在日常操作中...
这篇“MySQL数据库如何改名”文章的知识点大部分人都不太理解...
这篇文章主要介绍“mysql版本查询命令是什么”的相关知识,小...
本篇内容介绍了“mysql怎么修改字段的内容”的有关知识,在实...
这篇文章主要讲解了“mysql怎么删除unique约束”,文中的讲解...
今天小编给大家分享一下mysql怎么查询不为空的字段的相关知识...