brew install mysql-connector-c
给了:
Error: Cannot install mysql-connector-c because conflicting formulae are installed.
mysql: because both install MySQL client libraries
Please `brew unlink mysql` before continuing.
所以:
brew unlink mysql
Unlinking /usr/local/Cellar/mysql/5.7.9... 88 symlinks removed
brew install mysql-connector-c
工作正常。但现在brew link mysql
给出:
Linking /usr/local/Cellar/mysql/5.7.9...
Error: Could not symlink bin/my_print_defaults
Target /usr/local/bin/my_print_defaults
is a symlink belonging to mysql-connector-c. You can unlink it:
brew unlink mysql-connector-c
To force the link and overwrite all conflicting files:
brew link --overwrite mysql
To list all files that would be deleted:
brew link --overwrite --dry-run mysql
使困惑。取消链接?覆盖?