Mac先卸载MySQL
, 然后使用brew install mariadb
安装成功后
, 启动时无法使用mariadb, 请大牛们不惜指点指点, 怎么采用mariadb, 谢谢
如下图

怀疑是这个问题:
$brew info mariadb
.
.
.
==> Caveats
A "/etc/my.cnf" from another install may interfere with a Homebrew-built
server starting up correctly.
.
.
해결됨;
xcode가 설치되어 있는지 확인하세요.
양조 감지
brew doctor
표시Your system is ready to brew.
brew 업그레이드,
brew update
; 업그레이드 프로세스가 매우 느리고 github의 Brew에 업데이트 문제가 있습니다.Github에서는 문제가 발생하면
brew doctor
및brew update
을 두 번 더 실행할 수 있다고 지적합니다.4. 원본 Mariadb를 삭제하고
brew uninstall mariadb
다시 설치합니다.brew install mariadb
6. 으아아아모든 것이 괜찮습니다
mysql.server start