标签:
1. FATAL ERROR: Could not find ./bin/my_print_defaults
[root@localhost scripts]# ./mysql_install_db --user=mysql --datadir=/var/lib/mysql FATAL ERROR: Could not find ./bin/my_print_defaults If you compiled from source, you need to run ‘make install‘ to copy the software into the correct location ready for operation. If you are using a binary release, you must either be at the top level of the extracted archive, or pass the --basedir option pointing to that location.
解决方法:
[root@localhost scripts]# ./mysql_install_db --user=mysql --datadir=/var/lib/mysql --basedir=/usr/local/mysql
指定 --basedir
2.
mysql / mysqld_safe / mysqld 常见错误处理
标签:
原文地址:http://www.cnblogs.com/digdeep/p/4908353.html