I'm installing mysql5 +server on a coworker's MacBook, following the same steps I always do. However, after installing, the mysql5 symlinks in /opt/local/bin appear to point to //opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_databas es_mysql5/work/destroot/opt/local/lib/mysql5/bin/ instead of t/opt/ local/lib/mysql5/bin/. For example, ls -al /opt/local/bin/my* lrwxr-xr-x 1 root admin 168 Sep 10 15:35 /opt/local/bin/ my_print_defaults5 -> /opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_databas es_mysql5/work/destroot/opt/local/lib/mysql5/bin/my_print_defaults lrwxr-xr-x 1 root admin 164 Sep 10 15:35 /opt/local/bin/ myisam_ftdump5 -> /opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_databas es_mysql5/work/destroot/opt/local/lib/mysql5/bin/myisam_ftdump lrwxr-xr-x 1 root admin 160 Sep 10 15:35 /opt/local/bin/myisamchk5 -
/opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_databas es_mysql5/work/destroot/opt/local/lib/mysql5/bin/myisamchk lrwxr-xr-x 1 root admin 160 Sep 10 15:35 /opt/local/bin/myisamlog5 - /opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_databas es_mysql5/work/destroot/opt/local/lib/mysql5/bin/myisamlog
I feel it is related to http://lists.macosforge.org/pipermail/ macports-changes/2007-September/009496.html I copied the symlinks from my installation of mysql5 to his computer, and things appeared to work, but I was unable to run mysql_install_db5 or mysqld_safe without error. Any idea how I can easily get this up and running today? Or should I use the .pkg installer on mysql.org for now? Thanks, Tamal