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

Mysql startup error. / mysqld_safe: my_print_defaults: how to solve not found

2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

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

This article mainly explains the "mysql startup error. / mysqld_safe: my_print_defaults: not found how to solve", the article explains the content is simple and clear, easy to learn and understand, the following please follow the editor's ideas slowly in-depth, together to study and learn "mysql startup error. / mysqld_safe: my_print_defaults: not found how to solve" it!

[problem description]:

Error found when installing an older version of mysql and starting it: (mysql5.0)

Workaround: cd to 'basedir' and run. / bin/mysqld_safe to avoid the issue

It means go to the basedir directory, find. / bin/mysqld_safe and start it.

Here is to return to the parent directory:

Root@10:/data/mysql/bin# cd..

Root@10:/data/mysql#. / bin/mysqld_safe &

[1] 4391

Root@10:/data/mysql# nohup: ignoring input and redirecting stderr to stdout

Starting mysqld daemon with databases from / data/mysql-data

Root@10:/data/mysql#

Root@10:/data/mysql# ps-ef | grep mysql

Root 4391 4185 0 10:23 pts/0 00:00:00 / bin/sh. / bin/mysqld_safe

Root 4422 4391 0 10:23 pts/0 00:00:00 / data/mysql/bin/mysqld-basedir=/data/mysql-datadir=/data/mysql-data-user=root-pid-file=/data/mysql-data/mysqld.pid-skip-external-locking-socket=/tmp/mysql.sock

Root 4435 4185 0 10:23 pts/0 00:00:00 grep mysql

...

Start successfully.

Thank you for your reading, the above is the content of "mysql startup error report. / mysqld_safe: my_print_defaults: how to solve not found". After the study of this article, I believe you have a deeper understanding of mysql startup error report. / mysqld_safe: my_print_defaults: not found how to solve this problem has a deeper understanding, the specific use of the situation also needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

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