前提・実現したいこと
現在、DB設計を行なっていてsqlのサーバー周りを行なっています。
ですが以下のようにサーバーを開始することができず、エラーが出てしまいサーバーを開始することができません。
発生している問題・エラーメッセージ
.. ERROR! The server quit without updating PID file (/usr/local/var/mysql/tasakidaikinoMacBook-Pro.local.pid).
このようになってしまい、PIDファイルを作成するとすぐ削除されてしまいます。
該当のソースコード
こちらのコードはbrew docterを入力した時に出たものです。 xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun Please note that these warnings are just used to help the Homebrew maintainers with debugging if you file an issue. If everything you use Homebrew for is working fine: please don't worry or file an issue; just ignore this. Thanks! Warning: Some installed formulae are deprecated or disabled. You should find replacements for the following formulae: ilmbase mysql@5.6 Warning: "config" scripts exist outside your system or Homebrew directories. `./configure` scripts often look for *-config scripts to determine if software packages are installed, and which additional flags to use when compiling and linking. Having additional scripts in your path can confuse software installed via Homebrew if the config script overrides a system or Homebrew-provided script of the same name. We found the following "config" scripts: /Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7-config /Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7m-config /Library/Frameworks/Python.framework/Versions/3.7/bin/python3-config Warning: No developer tools installed. Install the Command Line Tools: xcode-select --install Warning: Unbrewed static libraries were found in /usr/local/lib. If you didn't put them there on purpose they could cause problems when building Homebrew formulae, and may need to be deleted. Unexpected static libraries: /usr/local/lib/libTMAESCrypt.a Warning: Xcode alone is not sufficient on Big Sur. Install the Command Line Tools: xcode-select --install Warning: Homebrew's "sbin" was not found in your PATH but you have installed formulae that put executables in /usr/local/sbin. Consider setting your PATH for example like so: echo 'export PATH="/usr/local/sbin:$PATH"' >> /Users/tasakidaiki/.bash_profile
試したこと
brew docterもみたのですが、どういうエラーなのかわからず、プロセスなども不要なものを削除してみましたが、依然としてサーバーが動きません。
もし分かる方いましたら、是非ご教授お願い致します。
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。