Could not find my_print_defaults
ryandesign at macports.org
Sun Mar 6 10:14:48 PST 2011
On Mar 5, 2011, at 16:47, David Gentry wrote:
> I am using the MAMP#mysql wiki.
> I am working on "Set up the main database." For quite some time, I could not get past "FATAL ERROR: Could not find mysql_install_db."
> This command got me past that error message: sudo mysql_install_db5 --basedir=/opt/local/bin, but it gave me the following error:
> FATAL ERROR: Could not find my_print_defaults
> The following directories were searched:
> 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.
> Please help.
> Note: my_print_defaults5 is an alias in /opt/local/bin. Since I named the basedir as /opt/local/bin, I don't understand why the program looked in /opt/local/bin/bin.
To my knowledge, the instructions in the wiki MAMP article remain correct. Make sure you are following them correctly. But I have not tried to follow them in a long time; something may have broken.
Instead of /opt/local/bin, try specifying a basedir of /opt/local/lib/mysql5.
More information about the macports-users