安装 MySQL 在 Mac 系统上是一件非常普遍的事情,但是有些人在安装时可能会遇到乱码问题。如果这个问题被忽略,那么后续操作可能会出现奇怪的错误,因此必须要解决这个问题。
$ brew install mysql==>Installing dependencies for mysql: openssl@1.1, cmake, libevent==>Installing mysql dependency: openssl@1.1==>Downloading https://homebrew.bintray.com/bottles/openssl@1.1-1.1.1j.catalina.bottle.tar.gz######################################################################## 100.0%==>Pouring openssl@1.1-1.1.1j.catalina.bottle.tar.gzWarning: openssl@1.1: this formula has no --with-gmp option so it will be ignored!/usr/local/Cellar/openssl@1.1/1.1.1j: 8,068 files, 18.9MB==>Installing mysql dependency: cmake==>Downloading https://homebrew.bintray.com/bottles/cmake-3.20.5.catalina.bottle.tar.gz######################################################################## 100.0%==>Pouring cmake-3.20.5.catalina.bottle.tar.gz