mac mysql command under execution error:
dyld: Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib Referenced from: /usr/local/bin/mysql Reason: image not found Abort trap: 6
The reason: The current needed for the operation libssl.1.0.0.dylib mysql does not exist, or the current version is too high
deal with:
1. version too, need to switch to a version of
brew switch openssl 1.0.2r Cleaning /usr/local/Cellar/openssl/1.0.2r Opt link created for /usr/local/Cellar/openssl/1.0.2r
2. does not exist
brew install openssl 1.0.2r