mysql 559 and fbsd 8.2 'mysql_install_db' error

Fbsd8 fbsd8 at a1poweruser.com
Mon Mar 7 16:25:54 UTC 2011


I have been using mysql since fbsd 7.2 and always just issued the 
mysql_install_db command on the command line to create it's control 
databases and it just worked fine.

But now with 8.2 I get the following error and have no idea why.
I installed using pkg_add mysql55-server command.


# /usr/local/bin >mysql_install_db --user=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.



# /usr/local/bin >locate my_print_defaults
/usr/local/bin/my_print_defaults



More information about the freebsd-questions mailing list