- 论坛徽章:
- 0
|
本帖最后由 huowz 于 2011-05-01 00:54 编辑
没有加参数,默认方式装的。用find能找到my_print_defaults,应该改哪些参数?
./mysql_install_db --user=mysql &
[1] 28876
bzxx#
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.
[1] Exit 1 ./mysql_install_db --user=mysql
bzxx# find / -name my_print_defaults
/usr/local/bin/my_print_defaults |
|