Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

MySQL5.7 starts database error & how to solve the problem of # 039 does not exist or is not executable'

2025-03-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)05/31 Report--

This article introduces the relevant knowledge of "how to solve the MySQL5.7 startup database error report 'does not exist or is not executable'". In the operation of the actual case, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!

MySQL 5.7Boot database error

[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

Solution:

In MySQL 5.7, security is improved, requiring you to change to the software installation directory to start the database

[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

This is the end of the content of "MySQL5.7 startup database error report 'does not exist or is not executable' how to solve". Thank you for your reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report