Mysql startup error. / mysqld_safe: my_print_defaults: how to solve not found
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!