Problems With Mysql57

Michael Newman mgnewman at mac.com
Sat Jul 27 05:57:40 UTC 2019



> On Jul 27, 2019, at 11:16, Ryan Schmidt <ryandesign at macports.org> wrote:
> 
> `port select` is a convenience that places symlinks in /opt/local/bin. If `port select` doesn't work, you won't be able to call the programs by their convenient shortened names, but you can still call them by their absolute paths wherever the port put them. You can find out where the port put them by using `port contents mysql57`. For example, if you had wanted to run `mysqld_safe`, you would instead run `/opt/local/lib/mysql57/bin/mysqld_safe`.

Thanks for the clarification. Oddly, the symlink seems to have been created in spite of the port select failure:

lrwxr-xr-x     1 root     wheel        38 Jul 25 08:59 mysqld_safe -> /opt/local/lib/mysql57/bin/mysqld_safe

The reason I’m a bit wary is that in my previous installation of MySQL there was a symlink that pointed to the correct MySQL (5.7). But, the Launch Daemon was trying to start this: /usr/local/mysql/bin/mysqld_safe --user=mysql, which failed every ten seconds and created the massive (150 million line) error file in the directory for MySQL 5.6.

I’m assuming that the symlink was created when I initially installed MySQL (5.6) but wasn’t updated when it was upgraded to 5.7. 

I’d like for that not to happen again. 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20190727/40ad3b40/attachment.html>


More information about the macports-users mailing list