Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Mar 2011 11:08:17 -0500
From:      Fbsd8 <fbsd8@a1poweruser.com>
To:        Freebsd-questions@freebsd.org
Subject:   mysql 559 and fbsd 8.2 'mysql_install_db' error
Message-ID:  <4D7502F1.9000007@a1poweruser.com>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D7502F1.9000007>