Could not find my_print_defaults

David Gentry localbusinesswebsites at
Sat Mar 5 14:47:07 PST 2011

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.


More information about the macports-users mailing list