前提・実現したいこと
Homebrewを用いてMySQLを導入しようとしたらエラーメッセージが発生しました。
また、MySQLがダウンロードできているか確認したところ、されていませんでした。
発生している問題・エラーメッセージ
Updating Homebrew... ==> Installing dependencies for mysql: openssl@1.1 and protobuf ==> Installing mysql dependency: openssl@1.1 ==> Downloading https://homebrew.bintray.com/bottles/openssl@1.1-1.1.1g.catalina -=O=- # # # # curl: (7) Failed to connect to homebrew.bintray.com port 443: Connection refused Error: Failed to download resource "openssl@1.1" Download failed: https://homebrew.bintray.com/bottles/openssl@1.1-1.1.1g.catalina.bottle.tar.gz Warning: Bottle installation failed: building from source. ==> Downloading https://www.openssl.org/source/openssl-1.1.1g.tar.gz Warning: Transient problem: timeout Will retry in 1 seconds. 3 retries left. Warning: Transient problem: timeout Will retry in 2 seconds. 2 retries left. Warning: Transient problem: timeout Will retry in 4 seconds. 1 retries left. # -=O=- # # # # curl: (28) Connection timed out after 15000 milliseconds Trying a mirror... ==> Downloading https://dl.bintray.com/homebrew/mirror/openssl-1.1.1g.tar.gz -=O=- # # # # curl: (7) Failed to connect to dl.bintray.com port 443: Operation timed out Trying a mirror... ==> Downloading https://www.mirrorservice.org/sites/ftp.openssl.org/source/opens Warning: Transient problem: timeout Will retry in 1 seconds. 3 retries left. Warning: Transient problem: timeout Will retry in 2 seconds. 2 retries left. Warning: Transient problem: timeout Will retry in 4 seconds. 1 retries left. # -=O=- # # # # curl: (28) Connection timed out after 15000 milliseconds Error: An exception occurred within a child process: DownloadError: Failed to download resource "openssl@1.1" Download failed: https://www.mirrorservice.org/sites/ftp.openssl.org/source/openssl-1.1.1g.tar.gz
-bash: mysql: command not found
該当のソースコード
$ brew install mysql
$ mysql --version
試したこと
Homebrewの再インストール
補足情報(FW/ツールのバージョンなど)
Homebrewのバージョン
$ brew --version Homebrew 2.2.15 Homebrew/homebrew-core (git revision 93a12; last commit 2020-05-08)
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。