mysql-client-5.5.9 Multithreaded SQL database (client)
mysql-server-5.5.9 Multithreaded SQL database (server)
# /usr/local/bin/mysql_install_db
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.
Solution:
Look for binary path:
# which mysql_install_db
/usr/local/bin/mysql_install_db
Look for binary path:
# which my_print_defaults
/usr/local/bin/my_print_defaults
Set basedir to /usr/local:
# /usr/local/bin/mysql_install_db --basedir=/usr/local
9 comments:
Thanx, this is what I needed.
You present your solution in a very spartanic (but therefore excellent) style.
If installing under an upgraded FreeBSD 8.1, update your ports first (I forgot that).
It is not necessary to install the 'portmaster', just install portsnap from the ports collection, then type 'portsnap update'.
After that you should be able to access the current MYSQL installation files via installing by the ports tree.
awsome keep up the good work
Thanks for the tip. Helped me out of a jam.
thanks a bunch, definitely clear and concise
Thank! Help me very!
Brazil!
good work!!! keep it up
Life saver!
Thank you
Realy usefull tip, thank you!
Post a Comment